diff options
author | Dan Gohman <dan433584@gmail.com> | 2019-02-01 22:27:34 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2019-02-01 22:27:34 +0000 |
commit | f726e4454c55d55d37bd1a05065fc392d89e05c8 (patch) | |
tree | f9b73f3aa270d37fa71e0859fe0d83b040f62b1e /llvm/lib/MC/MCWasmStreamer.cpp | |
parent | cae8459ad2d4cce5806bc8d64ef0020bc20e3252 (diff) | |
download | bcm5719-llvm-f726e4454c55d55d37bd1a05065fc392d89e05c8.tar.gz bcm5719-llvm-f726e4454c55d55d37bd1a05065fc392d89e05c8.zip |
[WebAssembly] Add codegen support for the import_field attribute
This adds the LLVM side of https://reviews.llvm.org/D57602 -- the
import_field attribute. See that patch for details.
Differential Revision: https://reviews.llvm.org/D57603
llvm-svn: 352931
Diffstat (limited to 'llvm/lib/MC/MCWasmStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCWasmStreamer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCWasmStreamer.cpp b/llvm/lib/MC/MCWasmStreamer.cpp index 8c47d684908..6695a5202af 100644 --- a/llvm/lib/MC/MCWasmStreamer.cpp +++ b/llvm/lib/MC/MCWasmStreamer.cpp @@ -118,6 +118,7 @@ bool MCWasmStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) { break; case MCSA_ELF_TypeObject: + case MCSA_Cold: break; default: |