reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
; RUN: llvm-as %s -o %t
; RUN: llvm-nm --without-aliases %t | FileCheck %s
; RUN: llvm-nm %t | FileCheck --check-prefix=WITH %s

; CHECK-NOT: T a0bar
; CHECK-NOT: T a0foo
; CHECK: T bar
; CHECK: T foo

; WITH: T a0bar
; WITH: T a0foo
; WITH: T bar
; WITH: T foo

@a0foo = alias void (), void ()* @foo

define void @foo() {
  ret void
}

@a0bar = alias void (), void ()* @bar

define void @bar() {
  ret void
}