From fd485673dafd9211fa0379f491875e452cbd41ce Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 23 Aug 2020 22:53:23 -0700 Subject: [PATCH] [LiveDebugVariables] Internalize class DbgVariableValue. NFC --- llvm/lib/CodeGen/LiveDebugVariables.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 158e873..dd0a900 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -96,6 +96,7 @@ LiveDebugVariables::LiveDebugVariables() : MachineFunctionPass(ID) { enum : unsigned { UndefLocNo = ~0U }; +namespace { /// Describes a debug variable value by location number and expression along /// with some flags about the original usage of the location. class DbgVariableValue { @@ -136,6 +137,7 @@ private: unsigned WasIndirect : 1; const DIExpression *Expression = nullptr; }; +} // namespace /// Map of where a user value is live to that value. using LocMap = IntervalMap; -- 2.7.4