summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-23 07:10:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-23 07:10:06 +0000
commitbd156a901d4e06bfb18b8468607689f1bbec5aae (patch)
tree5d31ddba96425a6329338f5556b101cae1649fa2 /llvm/lib/System/Unix
parent51edba15c6a11fd79e60039264bee8daa2f14cd0 (diff)
downloadbcm5719-llvm-bd156a901d4e06bfb18b8468607689f1bbec5aae.tar.gz
bcm5719-llvm-bd156a901d4e06bfb18b8468607689f1bbec5aae.zip
Make the ProgramName variable a std::string so we can eliminate the path
portion fo the program name via sys::Path().getLast(). This makes error messages more readable since this is invariably used only in error messages. Instead of: /path/to/llvm/bin/directory/toolname: error message we will now get: toolname: error message Also, since we always have a program name (even if its defaulted), don't check to see if it is set or not when generating error messages. This eliminates a bunch of constant strings, saving a little under 1K of data. llvm-svn: 29842
Diffstat (limited to 'llvm/lib/System/Unix')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud