[cfe-dev] Advice on __emit__ intrinsic
daniel at boostpro.com
Wed Jun 1 08:18:58 CDT 2011
I'm working on adding codegen support for the BCC __emit__ intrinsic:
Essentially, it allows you to insert a sequence of bytes verbatim to
the object file.
would be equivalent to:
The documentation doesn't seem to mention it, but it also allows you
to emit the address of a variable:
Because of this I figure I need to add support for this on the llvm
level, but I'm not sure how to go about it. If anyone has any advice I
would appreciate it.
More information about the cfe-dev