[LLVMdev] State of 'llvm.pcmarker' Intrinsic

Nathan McCauley nathan.mccauley at gmail.com
Mon Feb 8 11:13:53 PST 2010


Hi list,

For a tool I'm working on I'd like to know where instructions end up in
compiled executables by looking them up in the symbol table.  Therefore,
I've been trying to use the  llvm.pcmarker Intrinsic, but I've had no luck.
When I pass .bc files with this intrinsic into llc, I'm given this error:

LLVM ERROR: Cannot yet select: 0x2026938: ch PCMarker 0x1f0c678, 0x20268b0

I've attempted this with programs targeting both x86 and ppc, with the same
results.

Is this intrinsic unimplemented at this time?  If so, what kind of effort
would it take to implement this?

-Nathan McCauley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100208/3c501b55/attachment.html>


More information about the llvm-dev mailing list