mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Namespacify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139892 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -71,6 +71,7 @@ LiveDebugVariables::LiveDebugVariables() : MachineFunctionPass(ID), pImpl(0) {
|
|||||||
/// LocMap - Map of where a user value is live, and its location.
|
/// LocMap - Map of where a user value is live, and its location.
|
||||||
typedef IntervalMap<SlotIndex, unsigned, 4> LocMap;
|
typedef IntervalMap<SlotIndex, unsigned, 4> LocMap;
|
||||||
|
|
||||||
|
namespace {
|
||||||
/// UserValueScopes - Keeps track of lexical scopes associated with an
|
/// UserValueScopes - Keeps track of lexical scopes associated with an
|
||||||
/// user value's source location.
|
/// user value's source location.
|
||||||
class UserValueScopes {
|
class UserValueScopes {
|
||||||
@ -91,6 +92,7 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
} // end anonymous namespace
|
||||||
|
|
||||||
/// UserValue - A user value is a part of a debug info user variable.
|
/// UserValue - A user value is a part of a debug info user variable.
|
||||||
///
|
///
|
||||||
|
@ -127,14 +127,16 @@ void DWARFDebugArangeSet::dump(raw_ostream &OS) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class DescriptorContainsAddress {
|
namespace {
|
||||||
const uint64_t Address;
|
class DescriptorContainsAddress {
|
||||||
public:
|
const uint64_t Address;
|
||||||
DescriptorContainsAddress(uint64_t address) : Address(address) {}
|
public:
|
||||||
bool operator()(const DWARFDebugArangeSet::Descriptor &desc) const {
|
DescriptorContainsAddress(uint64_t address) : Address(address) {}
|
||||||
return Address >= desc.Address && Address < (desc.Address + desc.Length);
|
bool operator()(const DWARFDebugArangeSet::Descriptor &desc) const {
|
||||||
}
|
return Address >= desc.Address && Address < (desc.Address + desc.Length);
|
||||||
};
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t DWARFDebugArangeSet::findAddress(uint64_t address) const {
|
uint32_t DWARFDebugArangeSet::findAddress(uint64_t address) const {
|
||||||
DescriptorConstIter end = ArangeDescriptors.end();
|
DescriptorConstIter end = ArangeDescriptors.end();
|
||||||
|
Reference in New Issue
Block a user