diff options
author | Fangrui Song <maskray@google.com> | 2020-02-19 15:27:59 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-26 08:57:23 -0800 |
commit | 6503aadcc6c96aecfd3489da5dc3887216948a47 (patch) | |
tree | 1683572b678f19045524579f25c69f3a8c68d25a /llvm/tools/llvm-diff/DifferenceEngine.cpp | |
parent | 423194098b88dfea86cca6f8e203e9d88f70abc9 (diff) | |
download | llvm-6503aadcc6c96aecfd3489da5dc3887216948a47.zip llvm-6503aadcc6c96aecfd3489da5dc3887216948a47.tar.gz llvm-6503aadcc6c96aecfd3489da5dc3887216948a47.tar.bz2 |
[llvm-objcopy][test] Improve empty section tests
empty-sections.test: add two tests adapted from @jhenderson's https://reviews.llvm.org/D74755#1882221
strip-non-alloc.test: improve. D74755 will change the attribution of an empty section.
They mostly test the behavior of Object.cpp:sectionWithinSegment : how we attribute sections to segments.
`ParentSegment` can affect some subtle layout decisions.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D74879
Diffstat (limited to 'llvm/tools/llvm-diff/DifferenceEngine.cpp')
0 files changed, 0 insertions, 0 deletions