Displaying 2 results from an estimated 2 matches for "instr_flags".
2011 Apr 05
3
[LLVMdev] Transition C->bitcode->assembly->object looses frame pointers
Hi everyone,
We're doing some compile-time instrumentation according to the following scheme:
llvm-gcc -O1 -g $in -emit-llvm -S -o $name.ll
opt -O2 -load Instr.so $INSTR_FLAGS $name.ll -S -o $name-inst.ll
llc $name-inst.ll -o $name.S
g++ -c $name.S
However it turns out that the code instrumented this way is missing
frame pointers (e.g. backtrace() and/or libunwind cannot unwind the
stack when necessary).
Moreover, removing the instrumentation doesn't help: a si...
2011 Apr 05
0
[LLVMdev] Transition C->bitcode->assembly->object looses frame pointers
...[LLVMdev] Transition C->bitcode->assembly->object looses frame
> pointers
>
> Hi everyone,
>
> We're doing some compile-time instrumentation according to the
> following scheme:
>
> llvm-gcc -O1 -g $in -emit-llvm -S -o $name.ll
> opt -O2 -load Instr.so $INSTR_FLAGS $name.ll -S -o $name-inst.ll
> llc $name-inst.ll -o $name.S
> g++ -c $name.S
>
> However it turns out that the code instrumented this way is missing
> frame pointers (e.g. backtrace() and/or libunwind cannot unwind the
> stack when necessary).
> Moreover, removing the inst...