1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test
Adrian Prantl e6c0e33913 Emit the DW_AT_type for a C++ static member definition
if it is more specific than the one in its DW_AT_specification.

If a static member is an array, the translation unit containing the
member definition may have a more specific type (including its length)
than TUs only seeing the class declaration. This patch adds a
DW_AT_type to the member's DW_TAG_variable in addition to the
DW_AT_specification in these cases. The member type in the
DW_AT_specification still shows the more generic type (without the
length) to avoid defeating type uniquing.

The DWARF standard discourages “duplicating” a DW_AT_type in a member
variable definition but doesn’t explicitly forbid it.  Having the more
specific type (with the array length) available is what allows the
debugger to print the contents of a static array member variable.

https://reviews.llvm.org/D26368
rdar://problem/28706946

llvm-svn: 286302
2016-11-08 22:11:38 +00:00
..
Analysis [BasicAA] Teach BasicAA to handle the inaccessiblememonly and inaccessiblemem_or_argmemonly attributes 2016-11-08 21:07:42 +00:00
Assembler Add DWARF debug info support for C++11 inline namespaces. 2016-11-03 19:42:02 +00:00
Bindings
Bitcode Add DWARF debug info support for C++11 inline namespaces. 2016-11-03 19:42:02 +00:00
BugPoint Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
CodeGen [WebAssembly] Convert stackified IMPLICIT_DEF into constant 0. 2016-11-08 19:40:38 +00:00
DebugInfo Emit the DW_AT_type for a C++ static member definition 2016-11-08 22:11:38 +00:00
Demangle
Examples
ExecutionEngine Make this test Windows-only (try to placate buildbots). 2016-11-03 16:43:10 +00:00
Feature
FileCheck
Instrumentation [asan] Speed up compilation of large C++ stringmaps (tons of allocas) with ASan 2016-11-08 21:30:41 +00:00
Integer
JitListener
LibDriver
Linker
LTO [ThinLTO] Prevent exporting of locals used/defined in module level asm 2016-11-08 21:53:35 +00:00
MC [SystemZ] Add missing FP extension instructions 2016-11-08 20:18:41 +00:00
Object Add error handling to getEntry. 2016-11-03 18:05:33 +00:00
ObjectYAML
Other [lit] Work around Windows MSys command line tokenization bug 2016-10-26 20:29:27 +00:00
SymbolRewriter
TableGen
ThinLTO/X86 [ThinLTO] Prevent exporting of locals used/defined in module level asm 2016-11-08 21:53:35 +00:00
tools Add support for the ARM_THREAD_STATE64 and 2016-11-03 20:51:28 +00:00
Transforms [LibcallsShrinkWrap] This pass doesn't preserve the CFG. 2016-11-08 19:18:20 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt [XRay] Add llvm-xray as a dependency to test/CMakeLists.txt 2016-10-26 04:16:05 +00:00
lit.cfg [XRay] Implement llvm-xray extract, start of the llvm-xray tool 2016-10-26 04:14:34 +00:00
lit.site.cfg.in
TestRunner.sh