aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@centrum.cz>2019-11-03 20:47:40 +0100
committerLuboš Luňák <l.lunak@centrum.cz>2020-01-14 23:39:50 +0100
commit729530f68fe135ad41d470fbed019cc5e31ac8a5 (patch)
tree84ec84a0ee7baa437932dd9cef1c723bd67c80e8 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parentf52d71736b10e87b1aa1880b777dc9462a0085ce (diff)
downloadllvm-729530f68fe135ad41d470fbed019cc5e31ac8a5.zip
llvm-729530f68fe135ad41d470fbed019cc5e31ac8a5.tar.gz
llvm-729530f68fe135ad41d470fbed019cc5e31ac8a5.tar.bz2
-fmodules-codegen should not emit extern templates
If a header contains 'extern template', then the template should be provided somewhere by an explicit instantiation, so it is not necessary to generate a copy. Worse, this can lead to an unresolved symbol, because the codegen's object file will not actually contain functions from such a template because of the GVA_AvailableExternally, but the object file for the explicit instantiation will not contain them either because it will be blocked by the information provided by the module. Differential Revision: https://reviews.llvm.org/D69779
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions