diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-25 06:53:10 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-25 06:53:10 +0000 |
commit | 6bae39d1db13f60d3e9b8393e5b9d9eb2ab1b5c0 (patch) | |
tree | 2bf24e8867dd6a04a58aac0d7d2ea11aff28b1bf /lib/asan/asan_stack.h | |
parent | 025ea90c9e15a18d29b6aab70f8192ae9c1beea4 (diff) | |
download | compiler-rt-6bae39d1db13f60d3e9b8393e5b9d9eb2ab1b5c0.tar.gz |
Lots of trivial changes to remove extraneous semicolons throughout ASan.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_stack.h')
-rw-r--r-- | lib/asan/asan_stack.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/asan/asan_stack.h b/lib/asan/asan_stack.h index 101408a81..35a6af2dd 100644 --- a/lib/asan/asan_stack.h +++ b/lib/asan/asan_stack.h @@ -63,7 +63,7 @@ struct AsanStackTrace { uptr bp = GET_CURRENT_FRAME(); \ uptr pc = GET_CALLER_PC(); \ uptr local_stack; \ - uptr sp = (uptr)&local_stack; + uptr sp = (uptr)&local_stack // Use this macro if you want to print stack trace with the current // function in the top frame. @@ -71,7 +71,7 @@ struct AsanStackTrace { uptr bp = GET_CURRENT_FRAME(); \ uptr pc = AsanStackTrace::GetCurrentPc(); \ uptr local_stack; \ - uptr sp = (uptr)&local_stack; + uptr sp = (uptr)&local_stack // Get the stack trace with the given pc and bp. // The pc will be in the position 0 of the resulting stack trace. @@ -79,7 +79,7 @@ struct AsanStackTrace { // fast_unwind is currently unused. #define GET_STACK_TRACE_WITH_PC_AND_BP(max_s, pc, bp) \ AsanStackTrace stack; \ - stack.GetStackTrace(max_s, pc, bp); \ + stack.GetStackTrace(max_s, pc, bp) // NOTE: A Rule of thumb is to retrieve stack trace in the interceptors // as early as possible (in functions exposed to the user), as we generally @@ -87,7 +87,7 @@ struct AsanStackTrace { #define GET_STACK_TRACE_HERE(max_size) \ GET_STACK_TRACE_WITH_PC_AND_BP(max_size, \ - AsanStackTrace::GetCurrentPc(), GET_CURRENT_FRAME()) \ + AsanStackTrace::GetCurrentPc(), GET_CURRENT_FRAME()) #define GET_STACK_TRACE_HERE_FOR_MALLOC \ GET_STACK_TRACE_HERE(FLAG_malloc_context_size) @@ -99,6 +99,6 @@ struct AsanStackTrace { { \ GET_STACK_TRACE_HERE(kStackTraceMax); \ stack.PrintStack(); \ - } \ + } #endif // ASAN_STACK_H |