[lld] r297059 - Convert two uses of uintX_t. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 12:04:48 PST 2017
Author: rafael
Date: Mon Mar 6 14:04:47 2017
New Revision: 297059
URL: http://llvm.org/viewvc/llvm-project?rev=297059&view=rev
Log:
Convert two uses of uintX_t. NFC.
Modified:
lld/trunk/ELF/SyntheticSections.cpp
lld/trunk/ELF/SyntheticSections.h
Modified: lld/trunk/ELF/SyntheticSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.cpp?rev=297059&r1=297058&r2=297059&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Mon Mar 6 14:04:47 2017
@@ -2136,8 +2136,9 @@ template <class ELFT> bool VersionNeedSe
template <class ELFT>
MergeSyntheticSection<ELFT>::MergeSyntheticSection(StringRef Name,
- uint32_t Type, uintX_t Flags,
- uintX_t Alignment)
+ uint32_t Type,
+ uint64_t Flags,
+ uint64_t Alignment)
: SyntheticSection(Flags, Type, Alignment, Name),
Builder(StringTableBuilder::RAW, Alignment) {}
Modified: lld/trunk/ELF/SyntheticSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.h?rev=297059&r1=297058&r2=297059&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.h (original)
+++ lld/trunk/ELF/SyntheticSections.h Mon Mar 6 14:04:47 2017
@@ -642,11 +642,9 @@ public:
// attached to regular output sections.
template <class ELFT>
class MergeSyntheticSection final : public SyntheticSection {
- typedef typename ELFT::uint uintX_t;
-
public:
- MergeSyntheticSection(StringRef Name, uint32_t Type, uintX_t Flags,
- uintX_t Alignment);
+ MergeSyntheticSection(StringRef Name, uint32_t Type, uint64_t Flags,
+ uint64_t Alignment);
void addSection(MergeInputSection<ELFT> *MS);
void writeTo(uint8_t *Buf) override;
void finalizeContents() override;
More information about the llvm-commits
mailing list