diff options
author | Siva Chandra <sivachandra@google.com> | 2015-03-27 00:10:04 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-03-27 00:10:04 +0000 |
commit | 462722d135431de2b35d410b941d61d4968b58af (patch) | |
tree | 13c44ee21c793114bae5fb0cbfbef1315ba8f37c /clang/lib/Sema/SemaDecl.cpp | |
parent | 7dd1d0630ee127eaeedc23f9c02212467aac5c62 (diff) | |
download | bcm5719-llvm-462722d135431de2b35d410b941d61d4968b58af.tar.gz bcm5719-llvm-462722d135431de2b35d410b941d61d4968b58af.zip |
[DWARF] Generate qualified names of functions if linkage names are missing.
Summary:
This is similar to the change introduced for variable DIEs in r233098. If the
linkage names of functions are missing in the DWARF, then their fully qualified
names (similar to the name that would be got by demangling their linkage name)
is generated using the decl context.
This change fixes TestNamespace when the test case is compiled with GCC, hence
it is enabled for GCC. The test and the test case are also enhanced to cover
variadic functions.
Test Plan: dotest.py -C <clang|gcc> -p TestNamespace
Reviewers: clayborg
Reviewed By: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8623
llvm-svn: 233336
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions