aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-08-22 17:50:51 +0000
committerSam Clegg <sbc@chromium.org>2018-08-22 17:50:51 +0000
commit47078f56f2150105f2b13c31ce6c373d34343c64 (patch)
tree8057597dcde4928c9920c9536873973b055408c7 /clang/lib/CodeGen/CodeGenModule.cpp
parenta65d943e334a861e446a153d1da1d0b54ae79f4f (diff)
downloadllvm-47078f56f2150105f2b13c31ce6c373d34343c64.zip
llvm-47078f56f2150105f2b13c31ce6c373d34343c64.tar.gz
llvm-47078f56f2150105f2b13c31ce6c373d34343c64.tar.bz2
[WebAssembly] Optimise relocation processing. NFC.
This is a rebased version https://reviews.llvm.org/D42176 which is patch by Nicolas Wilson. Addresses issue: https://github.com/WebAssembly/tool-conventions/issues/32, and https://bugs.llvm.org/show_bug.cgi?id=38650 Previously, for each function/segment we iterated over every relocation to find the relevant ones, which is an n^2 operation. Now, we just make a single pass. Differential Revision: https://reviews.llvm.org/D51063 llvm-svn: 340428
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions