[LLVMdev] Address of an instruction (or a label?)

Anton Korobeynikov asl at math.spbu.ru
Mon Mar 12 04:34:28 PDT 2007


Hello, Nicolas.

> Is there a way in llvm to get the address of a generated instruction? Or 
> somehow to fix the location of a label in the llvm code (something that 
> may look like a basic block perhaps) and get after the compilation the 
> address of this label?
Maybe it's worth to use llvm.dbg.stoppoint?

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list