diff options
author | Dean Michael Berris <dberris@google.com> | 2016-11-23 04:47:41 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-11-23 04:47:41 +0000 |
commit | 3076d43f9a9185c1cbcdf4dbc3a47595306b7f90 (patch) | |
tree | ec1861a80a6f6eb3af60595b451b5ef53e4482e2 /compiler-rt/lib/xray/xray_interface.cc | |
parent | c464fadc64789b45bebe93bdffbcb6e34701a232 (diff) | |
download | bcm5719-llvm-3076d43f9a9185c1cbcdf4dbc3a47595306b7f90.tar.gz bcm5719-llvm-3076d43f9a9185c1cbcdf4dbc3a47595306b7f90.zip |
[XRay][compiler-rt] Add newlines to error messages (NFC).
This goes through all the calls to `Report(...)` to make sure that each
one would have a newline at the end of the message for readability.
llvm-svn: 287736
Diffstat (limited to 'compiler-rt/lib/xray/xray_interface.cc')
-rw-r--r-- | compiler-rt/lib/xray/xray_interface.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/xray/xray_interface.cc b/compiler-rt/lib/xray/xray_interface.cc index 60a5c77fe0c..f2c8074a578 100644 --- a/compiler-rt/lib/xray/xray_interface.cc +++ b/compiler-rt/lib/xray/xray_interface.cc @@ -148,7 +148,7 @@ XRayPatchingStatus ControlPatching(bool Enable) XRAY_NEVER_INSTRUMENT { const uint64_t PageSize = GetPageSizeCached(); if ((PageSize == 0) || ((PageSize & (PageSize - 1)) != 0)) { - Report("System page size is not a power of two: %lld", PageSize); + Report("System page size is not a power of two: %lld\n", PageSize); return XRayPatchingStatus::FAILED; } @@ -188,7 +188,7 @@ XRayPatchingStatus ControlPatching(bool Enable) XRAY_NEVER_INSTRUMENT { Success = patchFunctionTailExit(Enable, FuncId, Sled); break; default: - Report("Unsupported sled kind: %d", int(Sled.Kind)); + Report("Unsupported sled kind: %d\n", int(Sled.Kind)); continue; } (void)Success; |