aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-01-26 00:55:12 +0000
committerDouglas Gregor <dgregor@apple.com>2013-01-26 00:55:12 +0000
commit713b7c011869f177dc76e6df4f7f44b1bd073bb0 (patch)
tree2a5a5a69b2900acb1fdf5c3a3a6e9b7743baacc1 /lib/StaticAnalyzer/Core/BugReporter.cpp
parent25cf8abf30189323199b1424848b105940267c1b (diff)
Since we're stuck with realpath for the header <-> module mapping,
factor the realpath calls into FileManager::getCanonicalName() so we can cache the results of this epically slow operation. 5% speedup on my modules test, and realpath drops out of the profile. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
0 files changed, 0 insertions, 0 deletions