diff options
author | Chen Zheng <czhengsz@cn.ibm.com> | 2023-10-12 11:16:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 11:16:01 +0800 |
commit | 1379a7286e156af2d96cb0f3d8aa8e5c7f56bccd (patch) | |
tree | ce993c64a40e495774dd7bda47c82720945af8ef /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | c661c4f57613b5f85af94ee4e905708e0ba820f8 (diff) | |
download | llvm-1379a7286e156af2d96cb0f3d8aa8e5c7f56bccd.zip llvm-1379a7286e156af2d96cb0f3d8aa8e5c7f56bccd.tar.gz llvm-1379a7286e156af2d96cb0f3d8aa8e5c7f56bccd.tar.bz2 |
[XCOFF][OBJECT] get symbol size by calling XCOFF interfaces (#67304)
Computing the symbol size as the gap between sorted symbols are not
right for XCOFF.
For XCOFF, the size info is stored in aux symbol and can be got from
existing XCOFF interface `getSymbolSize()`.
This patch changes XCOFFObjectFile to call this API to get sizes for
symbols.
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions