summaryrefslogtreecommitdiff
path: root/lib/System
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
commit6f4c60770cfe6c485cdcb1397df59d2c7778cbc9 (patch)
tree97f7dedfb1196d848a698f9be7650689d0698315 /lib/System
parent142ca8e81800ce6bcb511f3250bae23210d38ec8 (diff)
downloadllvm-6f4c60770cfe6c485cdcb1397df59d2c7778cbc9.tar.gz
llvm-6f4c60770cfe6c485cdcb1397df59d2c7778cbc9.tar.bz2
llvm-6f4c60770cfe6c485cdcb1397df59d2c7778cbc9.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
0 files changed, 0 insertions, 0 deletions