Skip to content

Commit d38479c

Browse files
chestnykhyuxuanchen1997
authored andcommitted
[compiler-rt] Move endif to correct place (#100342)
Summary: A couple of previous commits leaded to wrong endif placement inside the source that caused build problem in https://lab.llvm.org/buildbot/#/builders/13/builds/1020 See #99613 #99049 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250654
1 parent 02cc833 commit d38479c

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,6 +2237,7 @@ static const char *RegNumToRegName(int reg) {
22372237
case 31:
22382238
return "sp";
22392239
# endif
2240+
# endif // SANITIZER_LINUX
22402241
default:
22412242
return NULL;
22422243
}
@@ -2302,7 +2303,6 @@ static void DumpSingleReg(ucontext_t *ctx, int RegNum) {
23022303
(void)RegName;
23032304
# endif
23042305
}
2305-
# endif
23062306

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

0 commit comments

Comments
 (0)