[PATCH] D85408: Let -basic-block-sections=labels emit basicblock metadata in a new .bb_addr_map section, instead of emitting special unary-encoded symbols.
Rahman Lavaee via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 3 11:04:52 PDT 2020
rahmanl added inline comments.
================
Comment at: llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1047
+ getObjFileLowering().getBBAddrMapSection(*MF.getSection());
+ if (!BBAddrMapSection)
+ return;
----------------
MaskRay wrote:
> BBAddrMapSection is always non-null. Delete the if.
I believe we return null for non-ELF environment (Please refer to MCObjectFileInfo::getBBAddrMapSection).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85408/new/
https://reviews.llvm.org/D85408
More information about the cfe-commits
mailing list