diff options
Diffstat (limited to 'lld/ELF')
-rw-r--r-- | lld/ELF/Symbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp index de839795..220ec99 100644 --- a/lld/ELF/Symbols.cpp +++ b/lld/ELF/Symbols.cpp @@ -35,7 +35,7 @@ template <typename T> struct AssertSymbol { "SymbolUnion not aligned enough"); }; -LLVM_ATTRIBUTE_UNUSED static inline void assertSymbols() { +[[maybe_unused]] static inline void assertSymbols() { AssertSymbol<Defined>(); AssertSymbol<CommonSymbol>(); AssertSymbol<Undefined>(); |