Changeset View
Changeset View
Standalone View
Standalone View
llvm/docs/LangRef.rst
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 4,900 Lines • ▼ Show 20 Lines | |||||
raw data, if they aren't equivalent. This is only supported for array types, | raw data, if they aren't equivalent. This is only supported for array types, | ||||
particularly to describe Fortran arrays, which have an array descriptor in | particularly to describe Fortran arrays, which have an array descriptor in | ||||
addition to the array data. Alternatively it can also be DIVariable which | addition to the array data. Alternatively it can also be DIVariable which | ||||
has the address of the actual raw data. The Fortran language supports pointer | has the address of the actual raw data. The Fortran language supports pointer | ||||
arrays which can be attached to actual arrays, this attachment between pointer | arrays which can be attached to actual arrays, this attachment between pointer | ||||
and pointee is called association. The optional ``associated`` is a | and pointee is called association. The optional ``associated`` is a | ||||
DIExpression that describes whether the pointer array is currently associated. | DIExpression that describes whether the pointer array is currently associated. | ||||
The optional ``allocated`` is a DIExpression that describes whether the | The optional ``allocated`` is a DIExpression that describes whether the | ||||
allocatable array is currently allocated. | allocatable array is currently allocated. The optional ``rank`` is a | ||||
DIExpression that describes the rank (number of dimensions) of fortran assumed | |||||
rank array (rank is known at runtime). | |||||
For ``DW_TAG_enumeration_type``, the ``elements:`` should be :ref:`enumerator | For ``DW_TAG_enumeration_type``, the ``elements:`` should be :ref:`enumerator | ||||
descriptors <DIEnumerator>`, each representing the definition of an enumeration | descriptors <DIEnumerator>`, each representing the definition of an enumeration | ||||
value for the set. All enumeration type descriptors are collected in the | value for the set. All enumeration type descriptors are collected in the | ||||
``enums:`` field of the :ref:`compile unit <DICompileUnit>`. | ``enums:`` field of the :ref:`compile unit <DICompileUnit>`. | ||||
For ``DW_TAG_structure_type``, ``DW_TAG_class_type``, and | For ``DW_TAG_structure_type``, ``DW_TAG_class_type``, and | ||||
``DW_TAG_union_type``, the ``elements:`` should be :ref:`derived types | ``DW_TAG_union_type``, the ``elements:`` should be :ref:`derived types | ||||
▲ Show 20 Lines • Show All 15,900 Lines • Show Last 20 Lines |