diff options
| author | Ed Maste <emaste@freebsd.org> | 2016-08-30 15:38:10 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2016-08-30 15:38:10 +0000 |
| commit | 92c948901a33252ba0567ce14d131fda1a2a3a14 (patch) | |
| tree | f0b62a725bdb001348cf13eb3f4f3c065d91a3b1 /libunwind/src/CompactUnwinder.hpp | |
| parent | 7b21db9daa598b871e108ee4266c15851ca5d563 (diff) | |
| download | bcm5719-llvm-92c948901a33252ba0567ce14d131fda1a2a3a14.tar.gz bcm5719-llvm-92c948901a33252ba0567ce14d131fda1a2a3a14.zip | |
consistently add \n to log and trace messages
Previously most messages included a newline in the string, but a few of
them were missing. Fix these and simplify by just adding the newline in
the _LIBUNWIND_LOG macro itself.
Differential Revision: https://reviews.llvm.org/D24026
llvm-svn: 280103
Diffstat (limited to 'libunwind/src/CompactUnwinder.hpp')
| -rw-r--r-- | libunwind/src/CompactUnwinder.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libunwind/src/CompactUnwinder.hpp b/libunwind/src/CompactUnwinder.hpp index f528fba984d..1be1b0be129 100644 --- a/libunwind/src/CompactUnwinder.hpp +++ b/libunwind/src/CompactUnwinder.hpp @@ -105,7 +105,7 @@ int CompactUnwinder_x86<A>::stepWithCompactEncodingEBPFrame( default: (void)functionStart; _LIBUNWIND_DEBUG_LOG("bad register for EBP frame, encoding=%08X for " - "function starting at 0x%X\n", + "function starting at 0x%X", compactEncoding, functionStart); _LIBUNWIND_ABORT("invalid compact unwind encoding"); } @@ -224,7 +224,7 @@ int CompactUnwinder_x86<A>::stepWithCompactEncodingFrameless( break; default: _LIBUNWIND_DEBUG_LOG("bad register for frameless, encoding=%08X for " - "function starting at 0x%X\n", + "function starting at 0x%X", encoding, functionStart); _LIBUNWIND_ABORT("invalid compact unwind encoding"); } @@ -336,7 +336,7 @@ int CompactUnwinder_x86_64<A>::stepWithCompactEncodingRBPFrame( default: (void)functionStart; _LIBUNWIND_DEBUG_LOG("bad register for RBP frame, encoding=%08X for " - "function starting at 0x%llX\n", + "function starting at 0x%llX", compactEncoding, functionStart); _LIBUNWIND_ABORT("invalid compact unwind encoding"); } @@ -455,7 +455,7 @@ int CompactUnwinder_x86_64<A>::stepWithCompactEncodingFrameless( break; default: _LIBUNWIND_DEBUG_LOG("bad register for frameless, encoding=%08X for " - "function starting at 0x%llX\n", + "function starting at 0x%llX", encoding, functionStart); _LIBUNWIND_ABORT("invalid compact unwind encoding"); } |

