mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 14:36:06 +00:00

Commit the typed pointer bitcode file instead of producing it, as this will not be possible in the future anymore.
13 lines
260 B
LLVM
13 lines
260 B
LLVM
; RUN: llvm-as < %s > %t.opaque.bc
|
|
; RUN: llvm-ar cr %t.a %S/Inputs/typed.bc %t.opaque.bc
|
|
; RUN: llvm-nm --just-symbol-name %t.a | FileCheck %s
|
|
|
|
; CHECK-LABEL: typed.bc:
|
|
; CHECK: test
|
|
; CHECK-LABEL: opaque.bc:
|
|
; CHECK: test
|
|
|
|
define void @test() {
|
|
ret void
|
|
}
|