diff options
author | Sam Clegg <sbc@chromium.org> | 2017-12-08 17:58:25 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2017-12-08 17:58:25 +0000 |
commit | 2c096bacc6f042750511f12aa51a9feca82cffda (patch) | |
tree | a112993f77ce695e09218f580af06771553650b0 /lld/test/wasm/data-layout.ll | |
parent | de5209bdbdd06e47157f146ea593671ce4096a89 (diff) | |
download | bcm5719-llvm-2c096bacc6f042750511f12aa51a9feca82cffda.tar.gz bcm5719-llvm-2c096bacc6f042750511f12aa51a9feca82cffda.zip |
[WebAssembly] Add --no-entry argument
This adds a `--no-entry` argument to wasm LLD used to
suppress the default `_start` entry point.
Patch by Nicholas Wilson!
Differential Revision: https://reviews.llvm.org/D40725
llvm-svn: 320167
Diffstat (limited to 'lld/test/wasm/data-layout.ll')
-rw-r--r-- | lld/test/wasm/data-layout.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/wasm/data-layout.ll b/lld/test/wasm/data-layout.ll index 2d858ced0c2..f6e013cf607 100644 --- a/lld/test/wasm/data-layout.ll +++ b/lld/test/wasm/data-layout.ll @@ -1,6 +1,6 @@ ; RUN: llc -filetype=obj %p/Inputs/hello.ll -o %t.hello.o ; RUN: llc -filetype=obj %s -o %t.o -; RUN: lld -flavor wasm --emit-relocs --allow-undefined -o %t.wasm %t.o %t.hello.o +; RUN: lld -flavor wasm --emit-relocs --allow-undefined --no-entry -o %t.wasm %t.o %t.hello.o ; RUN: obj2yaml %t.wasm | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" |