You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
21
external/llvm/test/MC/WebAssembly/stack-ptr.ll
vendored
Normal file
21
external/llvm/test/MC/WebAssembly/stack-ptr.ll
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
; RUN: llc -mtriple wasm32-unknown-unknown-wasm -filetype=obj %s -o - | obj2yaml | FileCheck %s
|
||||
|
||||
; Function that uses explict stack, and should generate a reference to
|
||||
; __stack_pointer, along with the corresponding reloction entry.
|
||||
define hidden void @foo() #0 {
|
||||
entry:
|
||||
alloca i32, align 4
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK: - Type: IMPORT
|
||||
; CHECK: Imports:
|
||||
; CHECK: - Module: env
|
||||
; CHECK: Field: __stack_pointer
|
||||
; CHECK: Kind: GLOBAL
|
||||
; CHECK: GlobalType: I32
|
||||
; CHECK: GlobalMutable: true
|
||||
; CHECK: - Type: CODE
|
||||
; CHECK: Relocations:
|
||||
; CHECK: - Type: R_WEBASSEMBLY_GLOBAL_INDEX_LEB
|
||||
; CHECK: Index: 0
|
Reference in New Issue
Block a user