aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2015-10-06 10:45:03 +0000
committerManuel Klimek <klimek@google.com>2015-10-06 10:45:03 +0000
commit9b30e2b50bcae9615afdbf9bea56deb21686039a (patch)
tree0081947803f489e7c5114a3864e5824788b3be69 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent40f59e4466762ddcbe19da63e9434cbf50ba98dd (diff)
downloadllvm-9b30e2b50bcae9615afdbf9bea56deb21686039a.zip
llvm-9b30e2b50bcae9615afdbf9bea56deb21686039a.tar.gz
llvm-9b30e2b50bcae9615afdbf9bea56deb21686039a.tar.bz2
Adds a way for tools to deduce the target config from a compiler name.
Adds `addTargetAndModeForProgramName`, a utility function that will add appropriate `-target foo` and `--driver-mode=g++` tokens to a command line for driver invocations of the form `a/b/foo-g++`. It is intended to support tooling: for example, should a compilation database record some invocation of `foo-g++` without these implicit flags, a Clang tool may use this function to add them back. Patch by Luke Zarko. llvm-svn: 249391
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions