Displaying 1 result from an estimated 1 matches for "f00a8518".
Did you mean:
1008518
2011 Jan 21
1
[LLVMdev] -ffixed option in llvm-gcc
Hi
I am trying to register shadow a global variable using -ffixed option
in llvm-gcc. I am able to accomplish this using gcc however llvm-gcc
seems to ignore this option and generate code using the register.
command line:
>gcc -Wall -m64 -O3 -pthread -ftls-model=initial-exec -ffixed-r12
test.c -o test
>objdump -d ./test | grep r12
>llvm-gcc -Wall -m64 -O3 -pthread