aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/FileOutputBuffer.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
commit4259a1a7d8a0f6e8e53bccd516725f8480751a49 (patch)
tree5532095b21caa477c282ab2dfa7734a8c904e5db /lib/Support/FileOutputBuffer.cpp
parent657b75b9946eae763725b413841dfd01ed12a051 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions