forked from OSchip/llvm-project
AddressPool::HasBeenUsed: Add comment explaining the use-case for this flag.
Based on code review by Eric Christopher on r207323 llvm-svn: 207460
This commit is contained in:
parent
e0d954d51d
commit
b2133cb88d
|
@ -26,6 +26,11 @@ class AddressPool {
|
|||
AddressPoolEntry(unsigned Number, bool TLS) : Number(Number), TLS(TLS) {}
|
||||
};
|
||||
DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
|
||||
|
||||
/// Record whether the AddressPool has been queried for an address index since
|
||||
/// the last "resetUsedFlag" call. Used to implement type unit fallback - a
|
||||
/// type that references addresses cannot be placed in a type unit when using
|
||||
/// fission.
|
||||
bool HasBeenUsed;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue