Skip to content

Commit 558a895

Browse files
authored
[compiler-rt] Move endif to correct place (llvm#100342)
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 llvm#99613 llvm#99049
1 parent 20957d2 commit 558a895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

Lines changed: 1 addition & 1 deletion
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)