llvm-project
4308292d - [BOLT] Refactor NewTextSegmentAddress handling (#145950)

Commit
177 days ago
[BOLT] Refactor NewTextSegmentAddress handling (#145950) Refactor the code for NewTextSegmentAddress to correctly point at the true start of the segment when PHDR table is placed at the beginning. We used to offset NewTextSegmentAddress by PHDR table plus cache line alignment. NFC for proper binaries. Some YAML binaries from our tests will diverge due to bad segment address/offset alignment.
Author
Parents
Loading