LowerBitSets: Add debugging output.

Differential Revision: http://reviews.llvm.org/D11583

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243546 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne
2015-07-29 18:12:36 +00:00
parent 607fe5bb28
commit 63aeece879
2 changed files with 25 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ namespace llvm {
class DataLayout;
class GlobalVariable;
class Value;
class raw_ostream;
struct BitSetInfo {
// The indices of the set bits in the bitset.
@@ -57,6 +58,8 @@ struct BitSetInfo {
bool containsValue(const DataLayout &DL,
const DenseMap<GlobalVariable *, uint64_t> &GlobalLayout,
Value *V, uint64_t COffset = 0) const;
void print(raw_ostream &OS) const;
};
struct BitSetBuilder {