summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-10-22 06:15:31 +0000
committerXinliang David Li <davidxl@google.com>2015-10-22 06:15:31 +0000
commit69306c08234ba591f4e2cb71ea33b671464d0035 (patch)
treea8ceb8dc174f4d5db7bba1e39cf45a41de0fc2d8 /llvm/lib/Support/Path.cpp
parentcfd53b4e999301c5d6c7785c34c49d4e952e8aa4 (diff)
downloadbcm5719-llvm-69306c08234ba591f4e2cb71ea33b671464d0035.tar.gz
bcm5719-llvm-69306c08234ba591f4e2cb71ea33b671464d0035.zip
clang driver toolchain refactoring
In this patch, the file static method addProfileRT is moved to be a virtual member function of base ToolChain class. This allows derived toolchain to override the default behavior easily and make it consistent with Darwin toolchain (a TODO was added for this refactoring - now removed). A new helper method is also introduced to test if instrumentation profile option is turned on or not. Differential Revision: http://reviews.llvm.org/D13326 llvm-svn: 250994
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud