Skip to content

Commit 9a7a3e0

Browse files
committed
Fix formatting
1 parent 5c7678d commit 9a7a3e0

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ class LLVMSymbolizerProcess final : public SymbolizerProcess {
284284
const char *const kSymbolizerArch = "--default-arch=powerpc64le";
285285
# elif defined(__powerpc__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
286286
// Must check __powerpc__ after __powerpc64__ because both can be set.
287-
const char* const kSymbolizerArch = "--default-arch=powerpc";
287+
const char *const kSymbolizerArch = "--default-arch=powerpc";
288288
# elif defined(__s390x__)
289289
const char *const kSymbolizerArch = "--default-arch=s390x";
290290
# elif defined(__s390__)
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
// REQUIRES: powerpc64-target-arch
22

3-
// RUN: %clangxx -O0 %s -o %t
4-
// RUN: %env_tool_opts=external_symbolizer_path=%p/Inputs/sanitizer_default_arch/llvm-symbolizer \
3+
// RUN: %clangxx -O0 %s -o %t
4+
// RUN: %env_tool_opts=external_symbolizer_path=%p/Inputs/sanitizer_default_arch/llvm-symbolizer \
55
// RUN: %run %t 2>&1 | FileCheck %s
66

7-
#include <sanitizer/common_interface_defs.h>
7+
#include <sanitizer/common_interface_defs.h>
88

9-
static void Symbolize() {
10-
char buffer[100];
11-
__sanitizer_symbolize_pc(__builtin_return_address(0), "%p %F %L", buffer,
12-
sizeof(buffer));
13-
}
9+
static void Symbolize() {
10+
char buffer[100];
11+
__sanitizer_symbolize_pc(__builtin_return_address(0), "%p %F %L", buffer,
12+
sizeof(buffer));
13+
}
1414

15-
int main() {
16-
// CHECK: "--default-arch=powerpc64"
17-
Symbolize();
18-
}
15+
int main() {
16+
// CHECK: "--default-arch=powerpc64"
17+
Symbolize();
18+
}

0 commit comments

Comments
 (0)