From 02dc43c7271d5c59266b69321dbf7a944b2fa040 Mon Sep 17 00:00:00 2001 From: Mitch Phillips Date: Mon, 11 Mar 2019 17:06:39 +0000 Subject: [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 --- lib/hwasan/hwasan_tag_mismatch_aarch64.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/hwasan') 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__) -- cgit v1.2.1