Skip to content

Commit

Permalink
[compiler-rt] Adjust code style
Browse files Browse the repository at this point in the history
  • Loading branch information
chestnykh committed Jul 30, 2024
1 parent 47e3164 commit c68b4b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,8 @@ static const char *RegNumToRegName(int reg) {
return NULL;
}

# if SANITIZER_LINUX && SANITIZER_GLIBC && (defined(__arm__) || defined(__aarch64__))
# if SANITIZER_LINUX && SANITIZER_GLIBC && \
(defined(__arm__) || defined(__aarch64__))
static uptr GetArmRegister(ucontext_t *ctx, int RegNum) {
switch (RegNum) {
# if defined(__arm__)
Expand Down Expand Up @@ -2289,7 +2290,8 @@ static uptr GetArmRegister(ucontext_t *ctx, int RegNum) {
}
return 0;
}
# endif // SANITIZER_LINUX && SANITIZER_GLIBC && (defined(__arm__) || defined(__aarch64__))
# endif // SANITIZER_LINUX && SANITIZER_GLIBC && (defined(__arm__) ||
// defined(__aarch64__))

UNUSED
static void DumpSingleReg(ucontext_t *ctx, int RegNum) {
Expand Down

0 comments on commit c68b4b3

Please sign in to comment.