Skip to content

Commit

Permalink
Revert "[compiler-rt] Move endif to correct place (#100342)"
Browse files Browse the repository at this point in the history
This reverts commit 558a895.

This was a fix-forward for
#99613 that unfortunately
didn't work for the Android sanitizer buildbot. More information in that
pull request.
  • Loading branch information
hctim committed Jul 24, 2024
1 parent f83950a commit e7a3aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,6 @@ static const char *RegNumToRegName(int reg) {
case 31:
return "sp";
# endif
# endif // SANITIZER_LINUX
default:
return NULL;
}
Expand Down Expand Up @@ -2303,6 +2302,7 @@ static void DumpSingleReg(ucontext_t *ctx, int RegNum) {
(void)RegName;
# endif
}
# endif

void SignalContext::DumpAllRegisters(void *context) {
ucontext_t *ucontext = (ucontext_t *)context;
Expand Down

0 comments on commit e7a3aeb

Please sign in to comment.