~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/Other/llvm-nm-without-aliases.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llvm-as < %s > %t
 
2
; RUN: llvm-nm -without-aliases - < %t | FileCheck %s
 
3
; RUN: llvm-nm - < %t | FileCheck --check-prefix=WITH %s
 
4
 
 
5
; CHECK-NOT: T a0bar
 
6
; CHECK-NOT: T a0foo
 
7
; CHECK: T bar
 
8
; CHECK: T foo
 
9
 
 
10
; WITH: T a0bar
 
11
; WITH: T a0foo
 
12
; WITH: T bar
 
13
; WITH: T foo
 
14
 
 
15
@a0foo = alias void ()* @foo
 
16
 
 
17
define void @foo() {
 
18
  ret void
 
19
}
 
20
 
 
21
@a0bar = alias void ()* @bar
 
22
 
 
23
define void @bar() {
 
24
  ret void
 
25
}