Skip to content

Commit 5e9da2d

Browse files
committedJan 9, 2018
[ELF] Add a comment for ARMExidxSentinelSection::Highest; Use "= nullptr" instead of "= 0". NFC.
Differential Revision: https://reviews.llvm.org/D41234 llvm-svn: 322066
1 parent 94af521 commit 5e9da2d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎lld/ELF/SyntheticSections.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,10 @@ class ARMExidxSentinelSection : public SyntheticSection {
790790
void writeTo(uint8_t *Buf) override;
791791
bool empty() const override;
792792

793-
InputSection *Highest = 0;
793+
// The last section referenced by a regular .ARM.exidx section.
794+
// It is found and filled in Writer<ELFT>::resolveShfLinkOrder().
795+
// The sentinel points at the end of that section.
796+
InputSection *Highest = nullptr;
794797
};
795798

796799
// A container for one or more linker generated thunks. Instances of these

0 commit comments

Comments
 (0)
Please sign in to comment.