-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Fix typo in section name for STYP_EXCEPT #161959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Corrected the string from 'expect' to 'except' for the STYP_EXCEPT section in XCOFFObjectFile.cpp.
Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it is probably because you do not have write permissions for the repository. In which case you can instead tag reviewers by name in a comment by using If you have received no comments on your PR for a week, you can request a review by "ping"ing the PR by adding a comment “Ping”. The common courtesy "ping" rate is once a week. Please remember that you are asking for valuable time from other developers. If you have further questions, they may be answered by the LLVM GitHub User Guide. You can also ask questions in a comment on this PR, on the LLVM Discord or on the forums. |
@llvm/pr-subscribers-llvm-binary-utilities Author: 小钟 (smallzhong) ChangesCorrected the string from 'expect' to 'except' for the STYP_EXCEPT section in XCOFFObjectFile.cpp. Full diff: https://github.com/llvm/llvm-project/pull/161959.diff 1 Files Affected:
diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp
index c5a2ec219e91c..68809627b56c9 100644
--- a/llvm/lib/Object/XCOFFObjectFile.cpp
+++ b/llvm/lib/Object/XCOFFObjectFile.cpp
@@ -473,7 +473,7 @@ Expected<uintptr_t> XCOFFObjectFile::getSectionFileOffsetToRawData(
ECASE(STYP_TEXT, "text");
ECASE(STYP_DATA, "data");
ECASE(STYP_BSS, "bss");
- ECASE(STYP_EXCEPT, "expect");
+ ECASE(STYP_EXCEPT, "except");
ECASE(STYP_INFO, "info");
ECASE(STYP_TDATA, "tdata");
ECASE(STYP_TBSS, "tbss");
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks reasonable to me, but I'd like an XCOFF maintainer to sign off, so I've added a few who I know work in the area, as reviewers.
Oh, you need to mark your email address as not private in GitHub for this to be merged. Please see https://llvm.org/docs/DeveloperPolicy.html#email-addresses. |
Thanks for the reminder! I’ve disabled the “Keep my email addresses private” option in my GitHub settings. |
Ping |
@diggerlin / @EsmeYi / @hubert-reinterpretcast , please could one of you take a look at this? |
Corrected the string from 'expect' to 'except' for the STYP_EXCEPT section in XCOFFObjectFile.cpp.