1.refactor with XCOFFObjectFile::getImportFileTable with function getSectionFileOffsetToRawData instead of getLoaderSectionAddress
- delete the function getLoaderSectionAddress.
Paths
| Differential D134280
[NFC] refactor XCOFFObjectFile::getImportFileTable. ClosedPublic Authored by DiggerLin on Sep 20 2022, 6:16 AM.
Details Summary 1.refactor with XCOFFObjectFile::getImportFileTable with function getSectionFileOffsetToRawData instead of getLoaderSectionAddress
Diff Detail
Event TimelineComment Actions Looks good, thanks! You mentioned in another ticket that using the new function could cause other error paths to be hit. That's fine, and I don't think you need to specifically test them for the new type that uses the function, but it does mean that this ticket isn't technically a [NFC] so shouldn't be labelled as such. You could say why it isn't NFC in the commit body, to explain why you haven't added additional testing, for example, if you want. This revision is now accepted and ready to land.Sep 20 2022, 6:41 AM This revision was landed with ongoing or failed builds.Sep 21 2022, 9:51 AM Closed by commit rG3238951b61f0: Refactor XCOFFObjectFile::getImportFileTable. (authored by zhijian <zhijian@ca.ibm.com>). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 461932 llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/lib/Object/XCOFFObjectFile.cpp
|