aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-08-02 15:33:07 -0700
committerArthur Eubanks <aeubanks@google.com>2021-08-03 20:55:31 -0700
commitad253446208a06902d3bc4939ac7a64f8026cc84 (patch)
treeacec0fa63b41469048fe11350c97f7767bdd2467 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parenta87be1c1bd950bfe46c1904474c67dd3a0a7586d (diff)
downloadllvm-ad253446208a06902d3bc4939ac7a64f8026cc84.zip
llvm-ad253446208a06902d3bc4939ac7a64f8026cc84.tar.gz
llvm-ad253446208a06902d3bc4939ac7a64f8026cc84.tar.bz2
[MC][CodeGen] Emit constant pools earlier
Previously we would emit constant pool entries for ldr inline asm at the very end of AsmPrinter::doFinalization(). However, if we're emitting dwarf aranges, that would end all sections with aranges. Then if we have constant pool entries to be emitted in those same sections, we'd hit an assert that the section has already been ended. We want to emit constant pool entries before emitting dwarf aranges. This patch splits out arm32/64's constant pool entry emission into its own MCTargetStreamer virtual method. Fixes PR51208 Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D107314
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions