aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2022-03-31 20:34:05 -0700
committerPeter Collingbourne <peter@pcc.me.uk>2022-04-06 13:45:40 -0700
commit02a7b1754f76b6ecd3930aabc618f9209ac20dd0 (patch)
tree79958aa293efe66a7b58966dbde712f0feb2c559 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent096477e25e440ca923703750c628c862cd2a876c (diff)
downloadllvm-02a7b1754f76b6ecd3930aabc618f9209ac20dd0.zip
llvm-02a7b1754f76b6ecd3930aabc618f9209ac20dd0.tar.gz
llvm-02a7b1754f76b6ecd3930aabc618f9209ac20dd0.tar.bz2
Reland "gn build: Fix support for building the builtins for baremetal."
Our support for building for baremetal was conditional on a default off arg and would have failed to build if you had somehow arranged to pass the correct --target flag; presumably nobody noticed because nobody was turning it on. A better approach is to model baremetal as a separate "OS" called "baremetal" and build it in the same way as we cross-compile for other targets. That's what this patch does. I only hooked up the arm64 target but others can be added. Relanding after fixing Mac build breakage in D123244. Differential Revision: https://reviews.llvm.org/D122862
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions