From 6447a124e24a80a5ba80359c2828f0dde74df075 Mon Sep 17 00:00:00 2001 From: Eugene Zemtsov Date: Wed, 14 Mar 2018 02:10:07 +0000 Subject: [PATCH] Disable test debuglineinfo-path on powerpc llvm-svn: 327472 --- test/DebugInfo/debuglineinfo-path.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/DebugInfo/debuglineinfo-path.ll b/test/DebugInfo/debuglineinfo-path.ll index 86e7602de5f..959e44a1bba 100644 --- a/test/DebugInfo/debuglineinfo-path.ll +++ b/test/DebugInfo/debuglineinfo-path.ll @@ -1,16 +1,16 @@ ; Make sure that absolute source dir is detected correctly regardless of the platform. ; REQUIRES: object-emission +; On powerpc llvm-nm describes win_func as a global variable, not a function. It breaks the test. +; It is not essential to DWARF path handling code we're testing here. +; UNSUPPORTED: powerpc ; RUN: %llc_dwarf -O0 -filetype=obj -o %t < %s -; 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-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-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 -;TESTDEBUG: {{[0-9]+}} T win_func - ;POSIX_A: posix_absolute_func ;POSIX_A: /absolute/posix/path{{[\/]}}posix.c