diff options
author | Fangrui Song <maskray@google.com> | 2019-11-01 13:49:42 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-11-05 08:40:39 -0800 |
commit | ade55d07871040d0e75b94e3d3a1eaecbd704d36 (patch) | |
tree | 6543054d707ef3d5a01cd306f01f99714059347c /llvm/lib/CodeGen/MachineOutliner.cpp | |
parent | 03bf229bd44df4bbbc02c3512a095f5ed075f9da (diff) | |
download | llvm-ade55d07871040d0e75b94e3d3a1eaecbd704d36.zip llvm-ade55d07871040d0e75b94e3d3a1eaecbd704d36.tar.gz llvm-ade55d07871040d0e75b94e3d3a1eaecbd704d36.tar.bz2 |
[llvm-objcopy][ELF] Add OriginalType & OriginalFlags
`llvm::objcopy::elf::*Section::classof` matches Type and Flags, yet Type
and Flags are mutable (by setSectionFlagsAndTypes and upcoming
--only-keep-debug feature). Add OriginalType & OriginalFlags to be used
in classof, to prevent classof results from changing.
Reviewed By: jakehehrlich, jhenderson, alexshap
Differential Revision: https://reviews.llvm.org/D69739
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions