[all-commits] [llvm/llvm-project] 6503aa: [llvm-objcopy][test] Improve empty section tests
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Feb 26 08:58:44 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6503aadcc6c96aecfd3489da5dc3887216948a47
https://github.com/llvm/llvm-project/commit/6503aadcc6c96aecfd3489da5dc3887216948a47
Author: Fangrui Song <maskray at google.com>
Date: 2020-02-26 (Wed, 26 Feb 2020)
Changed paths:
M llvm/test/tools/llvm-objcopy/ELF/empty-section.test
M llvm/test/tools/llvm-objcopy/ELF/strip-non-alloc.test
Log Message:
-----------
[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
More information about the All-commits
mailing list