Skip to content

Commit 44cbb15

Browse files
author
Chen Zheng
committed
address comments
1 parent 89a4f1a commit 44cbb15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Object/XCOFFObjectFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ Expected<bool> XCOFFSymbolRef::isFunction() const {
12881288
if (CsectAuxRef.getSymbolType() == XCOFF::XTY_LD)
12891289
return true;
12901290

1291-
return false;
1291+
return createError("csect symbol has no valid symbol type.");
12921292
}
12931293

12941294
bool XCOFFSymbolRef::isCsectSymbol() const {

0 commit comments

Comments
 (0)