Displaying 2 results from an estimated 2 matches for "custommd".
2014 Oct 27
2
[LLVMdev] First-class debug info IR: MDLocation
...deal. Why doesn't getMetadata return an 'MDUser*' for example?
In the class hierarchy:
- Value -> MDString
- Value -> MDNode
- Value -> NamedMDNode
- Value -> User -> MDUser -> ...
I named `MDUser` by its relationship with `User`, but maybe a better
name is `CustomMD`? (Any suggestions?)
Here's a breakdown:
- `MDString` is an arbitrary string that can be used as an operand.
It's owned by an `LLVMContext` and treated like a constant.
- `MDNode` is a generic node with arbitrary operands. It can
itself be used as an operand, and it can be...
2014 Oct 24
8
[LLVMdev] First-class debug info IR: MDLocation
I've attached a preliminary patch for `MDLocation` as a follow-up to the
RFC [1] last week. It's not commit-ready -- in particular, it squashes
a bunch of commits together and doesn't pass `make check` -- but I think
it's close enough to indicate the direction and work toward consensus.
[1]: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-October/077715.html
IMO, the files to