summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/OpenMPKinds.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-01-03 04:35:24 +0000
committerDean Michael Berris <dberris@google.com>2017-01-03 04:35:24 +0000
commit7c030a2d91976562dc3d6563838c04561cec85ba (patch)
tree7278808c40cc37e5893de2bdca1ff9d2a8e24835 /clang/lib/Basic/OpenMPKinds.cpp
parentb264c949631770f3264ccc06877e3ab40c0ed360 (diff)
downloadbcm5719-llvm-7c030a2d91976562dc3d6563838c04561cec85ba.tar.gz
bcm5719-llvm-7c030a2d91976562dc3d6563838c04561cec85ba.zip
[XRay] [compiler-rt] Include argv[0] in the log file name.
Summary: If you decide to recompile parts of your Linux distro with XRay, it may be useful to know which trace belongs to which binary. While there, get rid of the incorrect strncat() usage; it always returns a pointer to the start which makes that if() always true. Replace with snprintf which is bounded so that enough from both strings fits nicely. Reviewers: dberris Subscribers: danalbert, srhines, kubabrecka, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D27912 llvm-svn: 290861
Diffstat (limited to 'clang/lib/Basic/OpenMPKinds.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud