LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 18431 - llvm-symbolizer --obj flag test fails on FreeBSD
Summary: llvm-symbolizer --obj flag test fails on FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: new-bugs
Classification: Unclassified
Component: new bugs (show other bugs)
Version: trunk
Hardware: PC FreeBSD
: P normal
Assignee: emaste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 13:44 PST by emaste
Modified: 2014-01-18 10:56 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emaste 2014-01-09 13:44:53 PST
r197988 adds a new --obj flag to llvm-symbolizer.  The test for this fails 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
      ^

--

i.e., llvm-symbolizer returns "unsigned long" instead of "main".
Comment 1 emaste 2014-01-15 08:47:37 PST
Fix in code review: http://llvm-reviews.chandlerc.com/D2552
Comment 2 emaste 2014-01-18 10:56:32 PST
Fixed in r199404