Skip to content

Commit

Permalink
[compiler-rt] Move endif to correct place (llvm#100342)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chestnykh authored Jul 24, 2024
1 parent 20957d2 commit 558a895
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,6 +2237,7 @@ static const char *RegNumToRegName(int reg) {
case 31:
return "sp";
# endif
# endif // SANITIZER_LINUX
default:
return NULL;
}
Expand Down Expand Up @@ -2302,7 +2303,6 @@ 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 558a895

Please sign in to comment.