bolt/deps/llvm-18.1.8/llvm/test/CodeGen/WebAssembly/export-name.ll

17 lines
336 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc < %s -asm-verbose=false -wasm-keep-registers | FileCheck %s
target triple = "wasm32-unknown-unknown"
define void @test() #0 {
ret void
}
declare void @test2() #1
attributes #0 = { "wasm-export-name"="foo" }
attributes #1 = { "wasm-export-name"="bar" }
; CHECK: .export_name test, foo
; CHECK: .export_name test2, bar