• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; TODO(sbc): Make this test pass by adding support for unnamed tempoaries
2; in wasm relocations.
3; RUN: not llc -filetype=obj %s -o /dev/null 2>&1 | FileCheck %s
4
5target triple = "wasm32-unknown-unknown"
6
7@foo = internal global i8* blockaddress(@bar, %addr), align 4
8
9define hidden i32 @bar() #0 {
10entry:
11  br label %addr
12
13addr:
14  ret i32 0
15}
16
17; CHECK: LLVM ERROR: relocations for function or section offsets are only supported in metadata sections
18