[PATCH] D69739: [llvm-objcopy][ELF] Add OriginalType & OriginalFlags
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 14:24:31 PDT 2019
MaskRay added a comment.
For some section types, we call their `classof` (via `isa` or `dyn_cast`) before mutation, so using either `OriginalType` or `Type` does not matter, e.g. DynamicSymbolTableSection, GroupSection. Some `classof` methods are unused, e.g. DynamicSection::classof.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69739/new/
https://reviews.llvm.org/D69739
More information about the llvm-commits
mailing list