mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
[pdb] Fix broken unit test compilation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272059 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
90d4a1bb6f
commit
ca5b485311
@ -61,14 +61,14 @@ public:
|
||||
return ArrayRef<support::ulittle32_t>();
|
||||
return Blocks;
|
||||
}
|
||||
virtual StringRef getBlockData(uint32_t BlockIndex,
|
||||
virtual ArrayRef<uint8_t> getBlockData(uint32_t BlockIndex,
|
||||
uint32_t NumBytes) const override {
|
||||
return StringRef(&Data[BlockIndex], NumBytes);
|
||||
return ArrayRef<uint8_t>(&Data[BlockIndex], NumBytes);
|
||||
}
|
||||
|
||||
private:
|
||||
std::vector<support::ulittle32_t> Blocks;
|
||||
std::vector<char> Data;
|
||||
std::vector<uint8_t> Data;
|
||||
};
|
||||
|
||||
// Tests that a read which is entirely contained within a single block works
|
||||
|
Loading…
Reference in New Issue
Block a user