[llvm] 366eb8f - [Object] Fix IsRela typo after #91280
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 19:11:04 PDT 2024
Author: Fangrui Song
Date: 2024-07-08T19:10:59-07:00
New Revision: 366eb8f025f03f00ed1188dccfd3d527b8c82892
URL: https://github.com/llvm/llvm-project/commit/366eb8f025f03f00ed1188dccfd3d527b8c82892
DIFF: https://github.com/llvm/llvm-project/commit/366eb8f025f03f00ed1188dccfd3d527b8c82892.diff
LOG: [Object] Fix IsRela typo after #91280
Added:
Modified:
llvm/include/llvm/Object/ELFTypes.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Object/ELFTypes.h b/llvm/include/llvm/Object/ELFTypes.h
index c393dc54efb78..0f8c73f81cfa6 100644
--- a/llvm/include/llvm/Object/ELFTypes.h
+++ b/llvm/include/llvm/Object/ELFTypes.h
@@ -487,7 +487,7 @@ struct Elf_Rel_Impl<ELFType<Endianness, true>, true>
// In-memory representation. The serialized representation uses LEB128.
template <bool Is64> struct Elf_Crel_Impl {
using uint = std::conditional_t<Is64, uint64_t, uint32_t>;
- static const bool IsRela = true;
+ static const bool HasAddend = true;
static const bool IsCrel = true;
uint r_offset;
uint32_t r_symidx;
More information about the llvm-commits
mailing list