From: Rafael Espindola Date: Wed, 3 Sep 2014 16:16:02 +0000 (+0000) Subject: Update to not depend on "llvm-objdump -d -symbolize". X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=c3591934867cbf6992c5a1b9ebce75c60c1a28ab Update to not depend on "llvm-objdump -d -symbolize". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217047 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/gold/pr19901.ll b/test/tools/gold/pr19901.ll index 71d52a6a5e5..304246bca47 100644 --- a/test/tools/gold/pr19901.ll +++ b/test/tools/gold/pr19901.ll @@ -1,11 +1,17 @@ ; RUN: llc %s -o %t.o -filetype=obj -relocation-model=pic ; RUN: llvm-as %p/Inputs/pr19901-1.ll -o %t2.o ; RUN: ld -shared -o %t.so -plugin %llvmshlibdir/LLVMgold.so %t2.o %t.o -; RUN: llvm-objdump -d -symbolize %t.so | FileCheck %s +; RUN: llvm-readobj -t %t.so | FileCheck %s -; CHECK: g: -; CHECK-NEXT: push -; CHECK-NEXT: callq f +; CHECK: Symbol { +; CHECK: Name: f +; CHECK-NEXT: Value: +; CHECK-NEXT: Size: +; CHECK-NEXT: Binding: Local +; CHECK-NEXT: Type: Function +; CHECK-NEXT: Other: 2 +; CHECK-NEXT: Section: .text +; CHECK-NEXT: } target triple = "x86_64-unknown-linux-gnu" define i32 @g() {