[PATCH] D32062: [asan] Let the frontend disable gc-sections optimization for asan globals

Evgeniy Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 16:46:30 PDT 2017


eugenis created this revision.

Things like -fno-data-sections and -no-integrated-as can make this
optimization not beneficial or even impossible.

Also, extend -asan-globals-live-support flag from MachO to all binary
formats.


Repository:
  rL LLVM

https://reviews.llvm.org/D32062

Files:
  include/llvm/Transforms/Instrumentation.h
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  test/Instrumentation/AddressSanitizer/global_metadata_array.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32062.95243.patch
Type: text/x-patch
Size: 7796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/a36a9cfd/attachment.bin>


More information about the llvm-commits mailing list