]> granicus.if.org Git - clang/commit
Do not generate DW_TAG_imported_module for anonymous namespaces (even nested) for...
authorEkaterina Romanova <katya_romanova@playstation.sony.com>
Thu, 10 Dec 2015 18:52:50 +0000 (18:52 +0000)
committerEkaterina Romanova <katya_romanova@playstation.sony.com>
Thu, 10 Dec 2015 18:52:50 +0000 (18:52 +0000)
commit34a3e1fd8ec31d535cf6967d9769546403ab75d7
tree799092223827d722b882890e10275bfd41fb5ef5
parentbe1340d2b90c0016d232d327098caf9a9c3b40bd
Do not generate DW_TAG_imported_module for anonymous namespaces (even nested) for all the platforms except PS4.
For PS4, generate explicit import for anonymous namespaces and mark it by DW_AT_artificial attribute.

Differential Revision: http://reviews.llvm.org/D12624

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255281 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/CodeGenOptions.def
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/CodeGen/CGDebugInfo.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/debug-info-anon-namespace.cpp [new file with mode: 0644]