diff options
| author | Betul Buyukkurt <betulb@codeaurora.org> | 2015-11-18 19:39:20 +0000 |
|---|---|---|
| committer | Betul Buyukkurt <betulb@codeaurora.org> | 2015-11-18 19:39:20 +0000 |
| commit | e7891d033e9e8b7b9bb4d75945d4cd218883cc44 (patch) | |
| tree | cd9ad6839124b2f17fadf7468432ec1f32fabe6c | |
| parent | a52e2c83763bb08dda8d31cb45417fec66be76b6 (diff) | |
| download | bcm5719-llvm-e7891d033e9e8b7b9bb4d75945d4cd218883cc44.tar.gz bcm5719-llvm-e7891d033e9e8b7b9bb4d75945d4cd218883cc44.zip | |
[PGO] Fix the build failures due to 253483 and 253489.
llvm-svn: 253492
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfiling.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler-rt/lib/profile/InstrProfiling.h b/compiler-rt/lib/profile/InstrProfiling.h index 72a6e671eba..d709282fccb 100644 --- a/compiler-rt/lib/profile/InstrProfiling.h +++ b/compiler-rt/lib/profile/InstrProfiling.h @@ -12,10 +12,8 @@ #ifdef _MSC_VER # define LLVM_ALIGNAS(x) __declspec(align(x)) -#elif __GNUC__ && !__has_feature(cxx_alignas) -# define LLVM_ALIGNAS(x) __attribute__((aligned(x)) -#else -# define LLVM_ALIGNAS(x) alignas(x) +#elif __GNUC__ +# define LLVM_ALIGNAS(x) __attribute__((aligned(x))) #endif #if defined(__FreeBSD__) && defined(__i386__) |

