diff options
author | Mitch Phillips <mitchphillips@outlook.com> | 2019-03-11 17:06:39 +0000 |
---|---|---|
committer | Mitch Phillips <mitchphillips@outlook.com> | 2019-03-11 17:06:39 +0000 |
commit | 02dc43c7271d5c59266b69321dbf7a944b2fa040 (patch) | |
tree | 2963552fb4ea8c8cf3b039cd03541b3de1de7229 /lib/hwasan | |
parent | 432d574bfaa2129c81f8f2fc451278bebc8e4f11 (diff) | |
download | compiler-rt-02dc43c7271d5c59266b69321dbf7a944b2fa040.tar.gz |
[HWASan] Fixed minor AArch64/GCC build error.
Fixed buildbot clang-cmake-aarch64-lld by ensuring clang-only features
are guarded by clang-only #defines.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@355840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/hwasan')
-rw-r--r-- | lib/hwasan/hwasan_tag_mismatch_aarch64.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hwasan/hwasan_tag_mismatch_aarch64.S b/lib/hwasan/hwasan_tag_mismatch_aarch64.S index dbc9cc93b..cda554f29 100644 --- a/lib/hwasan/hwasan_tag_mismatch_aarch64.S +++ b/lib/hwasan/hwasan_tag_mismatch_aarch64.S @@ -100,7 +100,11 @@ __hwasan_tag_mismatch: .Lfunc_end0: .size __hwasan_tag_mismatch, .Lfunc_end0-__hwasan_tag_mismatch +// Address significance tables cannot be emitted on gcc. Some buildbots +// (clang-cmake-aarch64-lld) use gcc to build compiler-rt. +#if __clang__ .addrsig +#endif // __clang__ #endif // defined(__aarch64__) |