search for: cfiid

Displaying 1 result from an estimated 1 matches for "cfiid".

2014 Mar 03
2
[LLVMdev] Lower CFI IDs Using Target Intrinsic
...getting these IDs through the CodeGen. One thing that looked promising is the function “prefix” value in LLVM 3.4, which is able to emit a global value into the asm. This is the right idea except we need it at arbitrary points in code. We then looked at defining a custom intrinsic function (@llvm.cfiid) that we can insert into the IR and then lower to assembly. It didn’t seem like this was exactly what we wanted either, because the asm that is generated has to be target dependent. We’ve checked out the poolalloc/safecoode projects and there’s some helpful analysis tools, but didn’t find anything...