Displaying 1 result from an estimated 1 matches for "calc_pi".
2017 Nov 28
3
storing MBB MCSymbol in custom section
...e MCSymbol* Symbol Values per BB in a temp array and at the
in the custom section and emit it (emitSymbolValue) into my section
within EmitEndOfAsmFile()
I have found people looking at slightly different uses of the basic
block address but running into the same problem as me when compiling.
$clang calc_pi.c -o calc_pi
fatal error: error in backend: Undefined temporary symbol
However when only compiling (incompletely via -S),
e.g. $clang calc_pi.c -o calc_pi -S ,
it does compile with the expected outputs and the basic block labels
properly generated in my section. I get a file with proper labels
e....