diff options
author | Siva Chandra <sivachandra@google.com> | 2015-03-24 18:32:27 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-03-24 18:32:27 +0000 |
commit | 0783ab9a7f92318830d94d41857c36726cf84eaa (patch) | |
tree | 5b2ac52db5f671f5259340e5db5870fdaafd6bf6 /llvm/lib/CodeGen/UnreachableBlockElim.cpp | |
parent | cc7e7cabd5a70effe9c2a90545e6ab1426ce1e6d (diff) | |
download | bcm5719-llvm-0783ab9a7f92318830d94d41857c36726cf84eaa.tar.gz bcm5719-llvm-0783ab9a7f92318830d94d41857c36726cf84eaa.zip |
[DWARF] If linkages names are missing, use decl context to get qualified names.
Summary:
This commit adds this alternate route only when parsing variable dies
corresponding to global or static variables. The motivation for this is that GCC
does not emit linkage names for functions and variables declared/defined in
anonymous namespaces. Having this alternate route fixes one part of
TestNamespace which fails when the test case is compiled with GCC.
An alternate route to get fully qualified names of functions whose linkage names
are missing will be added with a followup change. With that, the other failing
part of TestNamespace will also be fixed.
Test Plan: dotest.py -C gcc -p TestNamespace
Reviewers: clayborg
Reviewed By: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8569
llvm-svn: 233098
Diffstat (limited to 'llvm/lib/CodeGen/UnreachableBlockElim.cpp')
0 files changed, 0 insertions, 0 deletions