[dsymutil] Ignore absolute symbols in the debug map
authorFrederic Riss <friss@apple.com>
Fri, 11 Dec 2015 17:50:37 +0000 (17:50 +0000)
committerFrederic Riss <friss@apple.com>
Fri, 11 Dec 2015 17:50:37 +0000 (17:50 +0000)
commitba16151251acbfd2aec59343aca6c1e6c6a0c97c
tree949003c63cc710fed3708d0fbb51c57c4b8d4aca
parent47be3618f189879a22ceb060548a6a47d124f3f7
[dsymutil] Ignore absolute symbols in the debug map

Quoting from the comment added to the code:

    // Objective-C on i386 uses artificial absolute symbols to
    // perform some link time checks. Those symbols have a fixed 0
    // address that might conflict with real symbols in the object
    // file. As I cannot see a way for absolute symbols to find
    // their way into the debug information, let's just ignore those.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255350 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/Inputs/absolute_sym.macho.i386 [new file with mode: 0755]
test/tools/dsymutil/Inputs/absolute_sym.macho.i386.o [new file with mode: 0644]
test/tools/dsymutil/absolute_symbol.test [new file with mode: 0644]
tools/dsymutil/MachODebugMapParser.cpp