Skip to content

No filename when using llvm-symbolizer with ASan on Mac #207

Closed

Description

Originally reported on Google Code with ID 207

What steps will reproduce the problem?
1. Build Firefox using the MOZCONFIG=~/mozconfig-asan (attached)
2. Trip https://bugzilla.mozilla.org/show_bug.cgi?id=887499

What is the expected output? What do you see instead?

With ASAN_SYMBOLIZER_PATH=~/llvm/build/Release+Asserts/bin/llvm-symbolizer, all lines
are missing source filenames and line numbers:

    #0 0x1057ac304 in nsINode::ReplaceOrInsertBefore(bool, nsINode*, nsINode*, mozilla::ErrorResult&)
(/Users/jruderman/trees/mozilla-central/obj-firefox-asan/dist/Nightly.app/Contents/MacOS/XUL+0x1577304)

With | ~/llvm/projects/compiler-rt/lib/asan/scripts/asan_symbolize.py, all lines have
source filenames and line numbers:

    #0 0x1057a7304 in nsINode::ReplaceOrInsertBefore nsINode.cpp:1616

What version of the product are you using? On what operating system?

* LLVM r185346
* Mac 10.7.5
* Firefox: https://hg.mozilla.org/mozilla-central/rev/4ffb23062b3b

Please provide any additional information below.


Reported by jruderman on 2013-07-02 03:16:31


- _Attachment: [mozconfig-asan](https://storage.googleapis.com/google-code-attachments/address-sanitizer/issue-207/comment-0/mozconfig-asan)_

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions