projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3137c29
)
[LiveDebugVariables] Internalize class DbgVariableValue. NFC
author
Fangrui Song
<i@maskray.me>
Mon, 24 Aug 2020 05:53:23 +0000
(22:53 -0700)
committer
Fangrui Song
<i@maskray.me>
Mon, 24 Aug 2020 05:53:46 +0000
(22:53 -0700)
llvm/lib/CodeGen/LiveDebugVariables.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/LiveDebugVariables.cpp
b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index
158e873
..
dd0a900
100644
(file)
--- 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<SlotIndex, DbgVariableValue, 4>;