summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/debuglineinfo-path.ll
diff options
context:
space:
mode:
authorEugene Zemtsov <ezemtsov@google.com>2018-03-14 01:07:18 +0000
committerEugene Zemtsov <ezemtsov@google.com>2018-03-14 01:07:18 +0000
commitc6d8fcb16805cce0d52bced8f7c6d803a017e676 (patch)
tree7899d56e9a39123aff6466a24a12283ea3493c9a /llvm/test/DebugInfo/debuglineinfo-path.ll
parent37fbfc68154c2f2eedbd59fa6eab7bfd46ecf9f0 (diff)
downloadbcm5719-llvm-c6d8fcb16805cce0d52bced8f7c6d803a017e676.tar.gz
bcm5719-llvm-c6d8fcb16805cce0d52bced8f7c6d803a017e676.zip
grep for global functions only
llvm-svn: 327469
Diffstat (limited to 'llvm/test/DebugInfo/debuglineinfo-path.ll')
-rw-r--r--llvm/test/DebugInfo/debuglineinfo-path.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/DebugInfo/debuglineinfo-path.ll b/llvm/test/DebugInfo/debuglineinfo-path.ll
index a0f36f3da3a..86e7602de5f 100644
--- a/llvm/test/DebugInfo/debuglineinfo-path.ll
+++ b/llvm/test/DebugInfo/debuglineinfo-path.ll
@@ -1,10 +1,10 @@
; Make sure that absolute source dir is detected correctly regardless of the platform.
; REQUIRES: object-emission
; RUN: %llc_dwarf -O0 -filetype=obj -o %t < %s
-; RUN: llvm-nm -radix=o %t | grep posix_absolute_func > %t.posix_absolute_func
-; RUN: llvm-nm -radix=o %t | grep posix_relative_func > %t.posix_relative_func
-; RUN: llvm-nm -radix=o %t | grep win_func > %t.win_func
-; RUN: llvm-nm -radix=o %t | grep win_func | FileCheck %s --check-prefix=TESTDEBUG
+; RUN: llvm-nm -radix=o %t | grep "T posix_absolute_func" > %t.posix_absolute_func
+; RUN: llvm-nm -radix=o %t | grep "T posix_relative_func" > %t.posix_relative_func
+; RUN: llvm-nm -radix=o %t | grep "T win_func" > %t.win_func
+; RUN: llvm-nm -radix=o %t | grep "T win_func" | FileCheck %s --check-prefix=TESTDEBUG
; RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false --obj %t < %t.posix_absolute_func | FileCheck %s --check-prefix=POSIX_A
; RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false --obj %t < %t.posix_relative_func | FileCheck %s --check-prefix=POSIX_R
; RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false --obj %t < %t.win_func | FileCheck %s --check-prefix=WIN
OpenPOWER on IntegriCloud