[PATCH] D28498: [asan] Make ASan compatible with linker dead stripping on Linux.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 17:46:10 PST 2017


pcc added inline comments.


================
Comment at: test/Instrumentation/AddressSanitizer/global_metadata.ll:25
 ; CHECK: [[LOCDESCR:@__asan_gen_.[0-9]+]] = private unnamed_addr constant { [22 x i8]*, i32, i32 } { [22 x i8]* [[FILENAME]], i32 5, i32 5 }
+; CHECK: @__asan_global_global = {{.*}}, section "asan_globals"
 
----------------
pcc wrote:
> Don't you want to check the content of this global? And what about the global metadata for `@.str`?
Looks like this hasn't been addressed.


Repository:
  rL LLVM

https://reviews.llvm.org/D28498





More information about the llvm-commits mailing list