Skip to content

[NFC] fix incorrect #endif comment #95991

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

Merged
merged 2 commits into from
Jun 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ uptr ReadBinaryName(/*out*/ char *buf, uptr buf_len) {
uptr module_name_len = internal_readlink(default_module_name, buf, buf_len);
int readlink_error;
bool IsErr = internal_iserror(module_name_len, &readlink_error);
# endif // SANITIZER_SOLARIS
# endif // SANITIZER_FREEBSD || SANITIZER_NETBSD
if (IsErr) {
// We can't read binary name for some reason, assume it's unknown.
Report(
Expand All @@ -1192,7 +1192,7 @@ uptr ReadBinaryName(/*out*/ char *buf, uptr buf_len) {
CHECK_LT(module_name_len, buf_len);
}
return module_name_len;
# endif
# endif // SANITIZER_SOLARIS
}

uptr ReadLongProcessName(/*out*/ char *buf, uptr buf_len) {
Expand Down
Loading