summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.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
commite00c8b205e24122ce3cb6169dd4e85c16c2fdadd (patch)
treeb7b20eca5a8cd95c9c0385a8a05cfcdcc605efce /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd0c842d7a496b15d2b771c9ee605c1570ba49793 (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. llvm-svn: 173542
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions