[llvm] r197988 - llvm-symbolizer: add --obj flag to specify a single object file that should be symbolized.

Roman Divacky rdivacky at freebsd.org
Wed Jan 8 10:39:29 PST 2014


On Tue, Jan 07, 2014 at 12:35:13PM -0500, Ed Maste wrote:
> On 24 December 2013 14:33, Alexey Samsonov <samsonov at google.com> wrote:
> > Author: samsonov
> > Date: Tue Dec 24 13:33:22 2013
> > New Revision: 197988
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=197988&view=rev
> > Log:
> > llvm-symbolizer: add --obj flag to specify a single object file that should be symbolized.
> >
> ...
> > +RUN: echo "0x400559" > %t.input4
> > +RUN: echo "0x400436" >> %t.input4
> > +RUN: llvm-symbolizer --obj %p/Inputs/dwarfdump-test.elf-x86-64 < %t.input4 \
> > +RUN:   | FileCheck %s --check-prefix=BINARY
> > +
> > +BINARY:       main
> > +BINARY-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
> > +BINARY:      _start
> 
> This new test is failing on FreeBSD:
> 
> --
> /tank/emaste/src/llvm/test/DebugInfo/llvm-symbolizer-temp.test:6:9:
> error: expected string not found in input
> BINARY: main
>         ^
> <stdin>:1:1: note: scanning from here
> unsigned long
> ^
> <stdin>:2:7: note: possible intended match here
> /tmp/dbginfo/dwarfdump-test.cc:16:0
>       ^
> 

It looks like a genuine bug, it outputs:

unsigned long
/tmp/dbginfo/dwarfdump-test.cc:16:0

ie. "unsigned long" instead of the expected "main", no idea why.



More information about the llvm-commits mailing list