diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-11-10 22:52:44 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-11-10 22:52:44 +0000 |
commit | fafe99a2520ba9236e527b136e82500e04ec9cbc (patch) | |
tree | efe3986fdcf0e46b11a2078235b9ab143979c749 /lib/sanitizer_common/sanitizer_flags.h | |
parent | 6ca78590b388a5b7cb55d8836b7c5082153062ff (diff) |
[sanitizer] Remove unnecessary attribute hidden.
This should fix windows build of compiler-rt broken in r317943.
The attribute is unnecessary because since GetMaxVirtualAddress was split in two,
we no longer use common_flags() in the ifunc resolver context.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_flags.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.h b/lib/sanitizer_common/sanitizer_flags.h index f42d21931..c2ec29d16 100644 --- a/lib/sanitizer_common/sanitizer_flags.h +++ b/lib/sanitizer_common/sanitizer_flags.h @@ -34,9 +34,7 @@ struct CommonFlags { }; // Functions to get/set global CommonFlags shared by all sanitizer runtimes: -// FIXME: hidden needed for asan_premap_shadow. Consider building with -// -fvisibility=hidden. -extern CommonFlags common_flags_dont_use __attribute__((visibility("hidden"))); +extern CommonFlags common_flags_dont_use; inline const CommonFlags *common_flags() { return &common_flags_dont_use; } |