[PATCH] D56659: [llvm-objcopy] [COFF] Test absolute symbols wrt --strip-unneeded and --discard-all. NFC.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 14 05:43:27 PST 2019


mstorsjo added a comment.

In D56659#1356023 <https://reviews.llvm.org/D56659#1356023>, @jhenderson wrote:

> LGTM. I'm assuming that the -1 SectionNumber is what makes them absolute?


Exactly - section indices are positive for actual defined sections, zero for undefined and negative for a few special cases. (-1 for absolute and -2 for a debug kind of symbol.)


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56659/new/

https://reviews.llvm.org/D56659





More information about the llvm-commits mailing list