mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +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:
parent
e74711b8b0
commit
76f58d2031
@ -71,6 +71,7 @@ LiveDebugVariables::LiveDebugVariables() : MachineFunctionPass(ID), pImpl(0) {
|
||||
/// LocMap - Map of where a user value is live, and its location.
|
||||
typedef IntervalMap<SlotIndex, unsigned, 4> LocMap;
|
||||
|
||||
namespace {
|
||||
/// UserValueScopes - Keeps track of lexical scopes associated with an
|
||||
/// user value's source location.
|
||||
class UserValueScopes {
|
||||
@ -91,6 +92,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
};
|
||||
} // end anonymous namespace
|
||||
|
||||
/// 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 {
|
||||
const uint64_t Address;
|
||||
public:
|
||||
DescriptorContainsAddress(uint64_t address) : Address(address) {}
|
||||
bool operator()(const DWARFDebugArangeSet::Descriptor &desc) const {
|
||||
return Address >= desc.Address && Address < (desc.Address + desc.Length);
|
||||
}
|
||||
};
|
||||
namespace {
|
||||
class DescriptorContainsAddress {
|
||||
const uint64_t Address;
|
||||
public:
|
||||
DescriptorContainsAddress(uint64_t address) : Address(address) {}
|
||||
bool operator()(const DWARFDebugArangeSet::Descriptor &desc) const {
|
||||
return Address >= desc.Address && Address < (desc.Address + desc.Length);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
uint32_t DWARFDebugArangeSet::findAddress(uint64_t address) const {
|
||||
DescriptorConstIter end = ArangeDescriptors.end();
|
||||
|
Loading…
Reference in New Issue
Block a user