[LLVMdev] MCSymbol and DebugLoc

nicolas geoffray nicolas.geoffray at gmail.com
Sun Sep 12 09:44:25 PDT 2010


Hi all,

When emitting GC information, it can be very useful to emit the debug
location of a GC point, represented as a MCSymbol. Infortunately I haven't
found any API (JIT and codegen) where I can get from a MCSymbol to a
DebugLoc. Does that interface exist? If not, I plan on committing  a small
change in the GC code where the debug location is passed to the constructor
of a GC point. Patch attached.

Cheers,
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100912/189a6d6a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc.patch
Type: application/octet-stream
Size: 2504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100912/189a6d6a/attachment.obj>


More information about the llvm-dev mailing list