mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 18:26:04 +00:00
Namespacify.
llvm-svn: 139892
This commit is contained in:
parent
88b4ddfa91
commit
67b014b2c2
@ -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…
x
Reference in New Issue
Block a user