[PATCH] D70443: [AIX][XCOFF] Generate undefined symbol in symbol table for external function call
David Tenty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 14:24:23 PST 2019
daltenty added inline comments.
Herald added a subscriber: wuzish.
================
Comment at: llvm/lib/MC/XCOFFObjectWriter.cpp:313
const MCSectionXCOFF *ContainingCsect = XSym->getContainingCsect();
- assert(WrapperMap.find(ContainingCsect) != WrapperMap.end() &&
- "Expected containing csect to exist in map");
-
+ assert(ContainingCsect && "Every MCSymbolXCOFF should have a csect.");
+
----------------
getContainingCsect() already has this assertion internally
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70443/new/
https://reviews.llvm.org/D70443
More information about the llvm-commits
mailing list