[compiler-rt] r373528 - NFC: add namespace {}
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 14:20:32 PDT 2019
Author: vitalybuka
Date: Wed Oct 2 14:20:32 2019
New Revision: 373528
URL: http://llvm.org/viewvc/llvm-project?rev=373528&view=rev
Log:
NFC: add namespace {}
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp?rev=373528&r1=373527&r2=373528&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp Wed Oct 2 14:20:32 2019
@@ -27,6 +27,8 @@
namespace __sanitizer {
+namespace {
+
//---------------------------- UnwindSlow --------------------------------------
typedef struct {
@@ -119,6 +121,8 @@ _Unwind_Reason_Code Unwind_Trace(struct
return UNWIND_CONTINUE;
}
+} // namespace
+
void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) {
CHECK_GE(max_depth, 2);
size = 0;
More information about the llvm-commits
mailing list