[llvm] [XCOFF] make related SD symbols as isFunction (PR #69553)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 01:12:48 PST 2023


================
@@ -1288,7 +1288,11 @@ Expected<bool> XCOFFSymbolRef::isFunction() const {
   if (CsectAuxRef.getSymbolType() == XCOFF::XTY_LD)
     return true;
 
-  return createError("csect symbol has no valid symbol type.");
+  return createError(
+      "Symbol csect aux entry with index " +
----------------
jh7370 wrote:

This message doesn't conform to the LLVM coding standards. Please fix.

https://github.com/llvm/llvm-project/pull/69553


More information about the llvm-commits mailing list