[llvm] r217047 - Update to not depend on "llvm-objdump -d -symbolize".
Rafael Avila de Espindola
rafael.espindola at gmail.com
Wed Sep 3 14:16:20 PDT 2014
Np, using the disassembler in the test was a pretty big overkill anyway.
Sent from my iPhone
> On Sep 3, 2014, at 17:12, Sean Silva <chisophugis at gmail.com> wrote:
>
> Oops, sorry!
>
>
>> On Wed, Sep 3, 2014 at 9:16 AM, Rafael Espindola <rafael.espindola at gmail.com> wrote:
>> Author: rafael
>> Date: Wed Sep 3 11:16:02 2014
>> New Revision: 217047
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=217047&view=rev
>> Log:
>> Update to not depend on "llvm-objdump -d -symbolize".
>>
>> Modified:
>> llvm/trunk/test/tools/gold/pr19901.ll
>>
>> Modified: llvm/trunk/test/tools/gold/pr19901.ll
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/pr19901.ll?rev=217047&r1=217046&r2=217047&view=diff
>> ==============================================================================
>> --- llvm/trunk/test/tools/gold/pr19901.ll (original)
>> +++ llvm/trunk/test/tools/gold/pr19901.ll Wed Sep 3 11:16:02 2014
>> @@ -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() {
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140903/7b9473cb/attachment.html>
More information about the llvm-commits
mailing list