[PATCH] D56672: [HWASAN] Instrument globals
    Peter Collingbourne via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed May  8 13:32:49 PDT 2019
    
    
  
pcc added inline comments.
================
Comment at: lib/Transforms/Instrumentation/HWAddressSanitizer.cpp:1297
+    auto *GVRefInitializer = ConstantStruct::get(
+        GlobalStructTy, GVPtr,
+        ConstantInt::get(Int64Ty,
----------------
Could this use a relative relocation so that we aren't paying the cost of a dynamic relocation for each global?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56672/new/
https://reviews.llvm.org/D56672
    
    
More information about the llvm-commits
mailing list