summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorShafik Yaghmour <syaghmour@apple.com>2019-08-23 17:19:21 +0000
committerShafik Yaghmour <syaghmour@apple.com>2019-08-23 17:19:21 +0000
commit5dca5efc0b14c1512cbd8a2902322e1b5b6617cb (patch)
tree9c13fa4f11536a24acfd69f12fdb24cc871bc086 /llvm/docs
parente7211bb56724b66ba1011084a2293d9d658a4afe (diff)
downloadbcm5719-llvm-5dca5efc0b14c1512cbd8a2902322e1b5b6617cb.tar.gz
bcm5719-llvm-5dca5efc0b14c1512cbd8a2902322e1b5b6617cb.zip
Debug Info: Support for DW_AT_export_symbols for anonymous structs
This implements the DWARF 5 feature described in: http://dwarfstd.org/ShowIssue.php?issue=141212.1 To support recognizing anonymous structs: struct A { struct { // Anonymous struct int y; }; } a; This patch adds a new (DI)flag to LLVM metadata: ExportSymbols Differential Revision: https://reviews.llvm.org/D66352 llvm-svn: 369781
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 880259572aa..55ba443dddf 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -4834,6 +4834,11 @@ after the function prologue. The language frontend is expected to compute
this property for each DILocalVariable. The flag should be used
only in optimized code.
+The `ExportSymbols` flag marks a class, struct or union whose members
+may be referenced as if they were defined in the containing class or
+union. This flag is used to decide whether the DW_AT_export_symbols can
+be used for the structure type.
+
DIObjCProperty
""""""""""""""
OpenPOWER on IntegriCloud