diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-12-01 01:38:48 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-12-01 01:38:48 +0000 |
commit | 40f1d858071f3e21db97e357c0b5d4bdce109091 (patch) | |
tree | 8e5921f07e875478b525ac02d77d3b5158170430 /llvm/lib/VMCore/DebugInfo.cpp | |
parent | b767d1eba89be1a11bf11a13ede2a761fc186cfa (diff) | |
download | bcm5719-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