[llvm] [XCOFF] make related SD symbols as isFunction (PR #69553)
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 20 01:55:01 PST 2023
================
@@ -1288,7 +1288,7 @@ Expected<bool> XCOFFSymbolRef::isFunction() const {
if (CsectAuxRef.getSymbolType() == XCOFF::XTY_LD)
return true;
- return false;
+ return createError("csect symbol has no valid symbol type.");
----------------
chenzheng1030 wrote:
OK. Updated.
https://github.com/llvm/llvm-project/pull/69553
More information about the llvm-commits
mailing list