[PATCH] D14713: [ELF2] - Optimization for R_X86_64_GOTTPOFF relocation.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 16 09:33:16 PST 2015
grimar added inline comments.
================
Comment at: ELF/Target.cpp:362
@@ +361,3 @@
+ uint8_t Reg = Loc[-1] >> 3;
+ // Originally it can be one of two:
+ // 1) movq foo at gottpoff(%rip), %reg
----------------
I dont sure what to do here. How to check out of bound for negative idx. Should I check (will need BufBegin arg I guess) or we can assume its never be out ?
http://reviews.llvm.org/D14713
More information about the llvm-commits
mailing list