search for: instr_flag

Displaying 2 results from an estimated 2 matches for "instr_flag".

Did you mean: 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 s...
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 ins...