Skip to content

Commit 4e24773

Browse files
committed
Fix typo in section name for STYP_EXCEPT
Corrected the string from 'expect' to 'except' for the STYP_EXCEPT section in XCOFFObjectFile.cpp.
1 parent 92cb18f commit 4e24773

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
@@ -473,7 +473,7 @@ Expected<uintptr_t> XCOFFObjectFile::getSectionFileOffsetToRawData(
473473
ECASE(STYP_TEXT, "text");
474474
ECASE(STYP_DATA, "data");
475475
ECASE(STYP_BSS, "bss");
476-
ECASE(STYP_EXCEPT, "expect");
476+
ECASE(STYP_EXCEPT, "except");
477477
ECASE(STYP_INFO, "info");
478478
ECASE(STYP_TDATA, "tdata");
479479
ECASE(STYP_TBSS, "tbss");

0 commit comments

Comments
 (0)