[compiler-rt] 7b2dd58 - [compiler-rt] [scudo] Fix typo in function attribute
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 07:59:14 PDT 2020
Author: Kamil Rytarowski
Date: 2020-09-17T16:57:30+02:00
New Revision: 7b2dd58eb09d3ead649bdd0a67f69d8776a636ff
URL: https://github.com/llvm/llvm-project/commit/7b2dd58eb09d3ead649bdd0a67f69d8776a636ff
DIFF: https://github.com/llvm/llvm-project/commit/7b2dd58eb09d3ead649bdd0a67f69d8776a636ff.diff
LOG: [compiler-rt] [scudo] Fix typo in function attribute
Fixes the build after landing https://reviews.llvm.org/D87562
Added:
Modified:
compiler-rt/lib/scudo/scudo_allocator.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/scudo_allocator.cpp b/compiler-rt/lib/scudo/scudo_allocator.cpp
index 53f6479a3bff..c6a3309cb925 100644
--- a/compiler-rt/lib/scudo/scudo_allocator.cpp
+++ b/compiler-rt/lib/scudo/scudo_allocator.cpp
@@ -44,7 +44,7 @@ static u32 Cookie;
// at compilation or at runtime.
static atomic_uint8_t HashAlgorithm = { CRC32Software };
-ATTR_inline u32 computeCRC32(u32 Crc, uptr Value, uptr *Array, uptr ArraySize) {
+inline u32 computeCRC32(u32 Crc, uptr Value, uptr *Array, uptr ArraySize) {
// If the hardware CRC32 feature is defined here, it was enabled everywhere,
// as opposed to only for scudo_crc32.cpp. This means that other hardware
// specific instructions were likely emitted at other places, and as a
More information about the llvm-commits
mailing list