[llvm] r327469 - grep for global functions only

Eugene Zemtsov via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 13 18:07:18 PDT 2018


Author: eugene
Date: Tue Mar 13 18:07:18 2018
New Revision: 327469

URL: http://llvm.org/viewvc/llvm-project?rev=327469&view=rev
Log:
grep for global functions only

Modified:
    llvm/trunk/test/DebugInfo/debuglineinfo-path.ll

Modified: llvm/trunk/test/DebugInfo/debuglineinfo-path.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/debuglineinfo-path.ll?rev=327469&r1=327468&r2=327469&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/debuglineinfo-path.ll (original)
+++ llvm/trunk/test/DebugInfo/debuglineinfo-path.ll Tue Mar 13 18:07:18 2018
@@ -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




More information about the llvm-commits mailing list