diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2019-10-02 21:20:32 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2019-10-02 21:20:32 +0000 |
| commit | 59bf75caabe4edaeff3754feb58fc70b11520f9b (patch) | |
| tree | bf9523713d798735d1e94358c91745d439e34f2b | |
| parent | 505d7f3105853efefb695e27bc6660227e737b62 (diff) | |
| download | bcm5719-llvm-59bf75caabe4edaeff3754feb58fc70b11520f9b.tar.gz bcm5719-llvm-59bf75caabe4edaeff3754feb58fc70b11520f9b.zip | |
NFC: add namespace {}
llvm-svn: 373528
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp index 1a43759e38a..72777746b14 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp +++ b/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp @@ -27,6 +27,8 @@ namespace __sanitizer { +namespace { + //---------------------------- UnwindSlow -------------------------------------- typedef struct { @@ -119,6 +121,8 @@ _Unwind_Reason_Code Unwind_Trace(struct _Unwind_Context *ctx, void *param) { return UNWIND_CONTINUE; } +} // namespace + void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { CHECK_GE(max_depth, 2); size = 0; |

