diff options
author | Rui Ueyama <ruiu@google.com> | 2015-03-16 23:43:11 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-03-16 23:43:11 +0000 |
commit | 3c2e306a5c2083c09c7ad6b6963dcc14eae218fb (patch) | |
tree | d74885d2fc88ca4b248e862ab81f0c7de8086457 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ad0bdcd2380a09c7dac5ef9748fc20d9cba3e319 (diff) | |
download | llvm-3c2e306a5c2083c09c7ad6b6963dcc14eae218fb.zip llvm-3c2e306a5c2083c09c7ad6b6963dcc14eae218fb.tar.gz llvm-3c2e306a5c2083c09c7ad6b6963dcc14eae218fb.tar.bz2 |
PECOFF: Make FileCOFF:findAtomAt from O(n) to O(1).
I knew I cut corners when I wrote this. Turned out that it is
actually slow when a file being read has many symbols. This patch
is to stop doing linear search and instead do map lookup.
llvm-svn: 232436
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions