summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/DebugInfo.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-12-01 01:38:48 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-12-01 01:38:48 +0000
commit40f1d858071f3e21db97e357c0b5d4bdce109091 (patch)
tree8e5921f07e875478b525ac02d77d3b5158170430 /llvm/lib/VMCore/DebugInfo.cpp
parentb767d1eba89be1a11bf11a13ede2a761fc186cfa (diff)
downloadbcm5719-llvm-40f1d858071f3e21db97e357c0b5d4bdce109091.tar.gz
bcm5719-llvm-40f1d858071f3e21db97e357c0b5d4bdce109091.zip
MC/AsmParser: Avoid unnecessary use of SourceMgr::FindBufferForLoc()
- Each macro instantiation introduces a new buffer, and FindBufferForLoc() is linear, so previously macro instantiation could be N^2 for some pathological inputs. llvm-svn: 169073
Diffstat (limited to 'llvm/lib/VMCore/DebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud