aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Unicode.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2016-12-19 00:47:40 +0000
committerDean Michael Berris <dberris@google.com>2016-12-19 00:47:40 +0000
commita53217d185adb428a8ad91e0b720d68a60a7916f (patch)
tree6536fc0bcdc44edacc9f8d387da69f5b3389d2ea /llvm/lib/Support/Unicode.cpp
parent375aa90291275bf6f85f0f3ef1e82e5dce0472d1 (diff)
downloadllvm-a53217d185adb428a8ad91e0b720d68a60a7916f.zip
llvm-a53217d185adb428a8ad91e0b720d68a60a7916f.tar.gz
llvm-a53217d185adb428a8ad91e0b720d68a60a7916f.tar.bz2
[XRay] [compiler-rt] Fix format string; sanitizers' internal printf() doesn't support %ld.
Summary: Getting rid of the distance number altogether because: - a person knowledgeable enough to know what the message means will also know how to do hexadecimal math (with the help of a calculator) - numbers outside INT_MIN - INT_MAX are hard to comprehend anyway This unbreaks the case when you dynamically link a library with XRay and it exits pre-main() with a not very informative static string. Author: pelikan Reviewers: dberris Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D27894 llvm-svn: 290074
Diffstat (limited to 'llvm/lib/Support/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions