[PATCH] D85774: [XCOFF][AIX] Enable tooling support for 64 bit symbol table parsing
Digger Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 18 13:51:31 PDT 2021
DiggerLin added inline comments.
================
Comment at: llvm/lib/Object/XCOFFObjectFile.cpp:781
-uint16_t XCOFFSymbolRef::getType() const {
- return OwningObjectPtr->toSymbolEntry(SymEntDataRef)->SymbolType;
-}
+ int16_t SectNum = getSectionNumber();
+ Expected<DataRefImpl> SI = OwningObjectPtr->getSectionByNum(SectNum);
----------------
const int16_t SectNum
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85774/new/
https://reviews.llvm.org/D85774
More information about the llvm-commits
mailing list