summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/buildSwigPython.py
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 /lldb/scripts/Python/buildSwigPython.py
parent40f59e4466762ddcbe19da63e9434cbf50ba98dd (diff)
downloadbcm5719-llvm-9b30e2b50bcae9615afdbf9bea56deb21686039a.tar.gz
bcm5719-llvm-9b30e2b50bcae9615afdbf9bea56deb21686039a.zip
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 'lldb/scripts/Python/buildSwigPython.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud