Skip to content

Commit 5129cec

Browse files
hctimyuxuanchen1997
authored andcommitted
Revert "[compiler-rt] Move endif to correct place (#100342)"
Summary: 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. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250687
1 parent 46fb681 commit 5129cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,6 @@ static const char *RegNumToRegName(int reg) {
22372237
case 31:
22382238
return "sp";
22392239
# endif
2240-
# endif // SANITIZER_LINUX
22412240
default:
22422241
return NULL;
22432242
}
@@ -2303,6 +2302,7 @@ static void DumpSingleReg(ucontext_t *ctx, int RegNum) {
23032302
(void)RegName;
23042303
# endif
23052304
}
2305+
# endif
23062306

23072307
void SignalContext::DumpAllRegisters(void *context) {
23082308
ucontext_t *ucontext = (ucontext_t *)context;

0 commit comments

Comments
 (0)