diff options
author | stozer <stephen.tozer@sony.com> | 2019-12-03 12:24:41 +0000 |
---|---|---|
committer | stozer <stephen.tozer@sony.com> | 2019-12-03 15:10:56 +0000 |
commit | 269a9afe25cb0ab7a7c0c62b9d95975ffc653530 (patch) | |
tree | aed4415927d7a96a45a1aacdc916055c0dbc0b88 /llvm/lib/IR | |
parent | 2dd82a1c04961cac05966f29d22a2b4b42b01b69 (diff) | |
download | bcm5719-llvm-269a9afe25cb0ab7a7c0c62b9d95975ffc653530.tar.gz bcm5719-llvm-269a9afe25cb0ab7a7c0c62b9d95975ffc653530.zip |
[DebugInfo] Make DebugVariable class available in DebugInfoMetadata
The DebugVariable class is a class declared in LiveDebugValues.cpp which
is used to uniquely identify a single variable, using its source
variable, inline location, and fragment info to do so. This patch moves
this class into DebugInfoMetadata.h, making it available in a much
broader scope.
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r-- | llvm/lib/IR/DebugInfoMetadata.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/IR/DebugInfoMetadata.cpp b/llvm/lib/IR/DebugInfoMetadata.cpp index b0102275b36..9b42a5a0e1b 100644 --- a/llvm/lib/IR/DebugInfoMetadata.cpp +++ b/llvm/lib/IR/DebugInfoMetadata.cpp @@ -23,6 +23,9 @@ using namespace llvm; +const DIExpression::FragmentInfo DebugVariable::DefaultFragment = { + std::numeric_limits<uint64_t>::max(), std::numeric_limits<uint64_t>::min()}; + DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, unsigned Column, ArrayRef<Metadata *> MDs, bool ImplicitCode) |