search for: symbol_offset

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

2013 Apr 24
0
[LLVMdev] Proposal: global symbol offsets
...l symbols to be used by uninstrumented code. Below I've listed five design alternatives I considered with their pros and cons: ------------------------------------------------------------------------ (1) Offset a constant: @vt = linkonce_odr global [3 x i8*] [i8* @rtti, i8* @f1, i8* @f2], symbol_offset i64 ptrtoint (i8** getelementptr ([3 x i8*]* null, i32 0, i32 1)) or just @vt = linkonce_odr global [3 x i8*] [i8* @rtti, i8* @f1, i8* @f2], symbol_offset i64 8 In the object file, the symbol (in this case, "vt") would be emitted at symbol_offset bytes past the start of vt's data. A...
2014 May 27
6
[LLVMdev] [PATCH] Symbol offsets
Somehow this cover letter was dropped from my symbol offsets patch set: 1. http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-May/073200.html 2. http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-May/073201.html Original message ----------------- About a year ago a proposal suggesting symbol offsets was brought to this list[1]. This proposal goes hand-in-hand with the prefix data proposal[2]