[DebugInfo] Make DebugVariable class available in DebugInfoMetadata
authorstozer <stephen.tozer@sony.com>
Tue, 3 Dec 2019 12:24:41 +0000 (12:24 +0000)
committerstozer <stephen.tozer@sony.com>
Tue, 3 Dec 2019 15:10:56 +0000 (15:10 +0000)
commit269a9afe25cb0ab7a7c0c62b9d95975ffc653530
treeaed4415927d7a96a45a1aacdc916055c0dbc0b88
parent2dd82a1c04961cac05966f29d22a2b4b42b01b69
[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.
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/CodeGen/LiveDebugValues.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/unittests/IR/MetadataTest.cpp