aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2020-05-13 11:44:03 -0700
committerEli Friedman <efriedma@quicinc.com>2020-05-14 12:45:17 -0700
commit44ecaabc0729fb75fcfec1d46a6bef6bc7c9e1e1 (patch)
treefcac13b8acea4a3155bdb78d681c8bec1b5cfa48 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent6a3469f58d0c230e86043f6975f048968334dfa4 (diff)
downloadllvm-44ecaabc0729fb75fcfec1d46a6bef6bc7c9e1e1.zip
llvm-44ecaabc0729fb75fcfec1d46a6bef6bc7c9e1e1.tar.gz
llvm-44ecaabc0729fb75fcfec1d46a6bef6bc7c9e1e1.tar.bz2
[BitcodeReader] datalayout must be specified before it is queried.
This isn't really a new invariant; it effectively already existed due to existing DataLayout queries. But this makes it explicit. This is technically not backward-compatible with the existing bitcode reader, but it's backward-compatible with the output of the bitcode writer, which is what matters in practice. No testcase because I don't know a good way to write one: there are no existing tools that can generate a bitcode file that would trigger the error. Split off from D78403. Differential Revision: https://reviews.llvm.org/D79900
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions