llvm-project/llvm/lib/Bitcode/Reader
Chih-Ping Chen 28bfa57a73 [DebugInfo] Add stringLocationExp field to DIStringType
DIStringType is used to encode the debug info of a character object
in Fortran. A Fortran deferred-length character object is typically
implemented as a pair of the following two pieces of info: An address
of the raw storage of the characters, and the length of the object.
The stringLocationExp field contains the DIExpression to get to the
raw storage.

This patch also enables the emission of DW_AT_data_location attribute
in a DW_TAG_string_type debug info entry based on stringLocationExp
in DIStringType.

A test is also added to ensure that the bitcode reader is backward
compatible with the old DIStringType format.

Differential Revision: https://reviews.llvm.org/D117586
2022-01-26 11:56:57 -05:00
..
BitReader.cpp
BitcodeAnalyzer.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
BitcodeReader.cpp [NFC] Remove uses of PointerType::getElementType() 2022-01-25 09:44:52 +01:00
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
MetadataLoader.cpp [DebugInfo] Add stringLocationExp field to DIStringType 2022-01-26 11:56:57 -05:00
MetadataLoader.h
ValueList.cpp Remove accidentally added debugging code from D103135 2021-06-14 11:11:40 -07:00
ValueList.h [OpaquePtr] Remove existing support for forward compatibility 2021-06-14 10:52:56 -07:00