aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorChih-Ping Chen <chih-ping.chen@intel.com>2022-01-18 14:54:01 -0500
committerchih-ping.chen <cchen15@hds-clx-7.nh.intel.com>2022-01-26 11:56:57 -0500
commit28bfa57a7315c3161124c90b4d52f467616dc92e (patch)
tree82cdf9337a2176b7ad35ad831f9819abee0f73c4 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentaa418b91332ca9ea0686ae53ef916456dffcc31c (diff)
downloadllvm-28bfa57a7315c3161124c90b4d52f467616dc92e.zip
llvm-28bfa57a7315c3161124c90b4d52f467616dc92e.tar.gz
llvm-28bfa57a7315c3161124c90b4d52f467616dc92e.tar.bz2
[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
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions