forked from OSchip/llvm-project
Fix typo and check commit access.
This commit is contained in:
parent
4585e3509c
commit
0fd383e656
|
@ -1260,7 +1260,7 @@ std::unique_ptr<Object> IHexELFBuilder::build() {
|
||||||
template <class ELFT> void ELFBuilder<ELFT>::setParentSegment(Segment &Child) {
|
template <class ELFT> void ELFBuilder<ELFT>::setParentSegment(Segment &Child) {
|
||||||
for (Segment &Parent : Obj.segments()) {
|
for (Segment &Parent : Obj.segments()) {
|
||||||
// Every segment will overlap with itself but we don't want a segment to
|
// Every segment will overlap with itself but we don't want a segment to
|
||||||
// be it's own parent so we avoid that situation.
|
// be its own parent so we avoid that situation.
|
||||||
if (&Child != &Parent && segmentOverlapsSegment(Child, Parent)) {
|
if (&Child != &Parent && segmentOverlapsSegment(Child, Parent)) {
|
||||||
// We want a canonical "most parental" segment but this requires
|
// We want a canonical "most parental" segment but this requires
|
||||||
// inspecting the ParentSegment.
|
// inspecting the ParentSegment.
|
||||||
|
|
Loading…
Reference in New Issue