mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 08:11:54 +00:00
Fix build broken due to order of initialization problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5571fd88f1
commit
c81ec9b2de
@ -22,7 +22,7 @@ namespace llvm {
|
||||
|
||||
class PDBInfoStream {
|
||||
public:
|
||||
PDBInfoStream(const PDBFile &File);
|
||||
PDBInfoStream(PDBFile &File);
|
||||
|
||||
std::error_code reload();
|
||||
|
||||
@ -33,9 +33,11 @@ public:
|
||||
|
||||
uint32_t getNamedStreamIndex(llvm::StringRef Name) const;
|
||||
|
||||
PDBFile &getFile() { return Pdb; }
|
||||
|
||||
private:
|
||||
PDBFile &Pdb;
|
||||
PDBStream Stream1;
|
||||
const PDBFile &Pdb;
|
||||
|
||||
// PDB file format version. We only support VC70. See the enumeration
|
||||
// `PdbRaw_ImplVer` for the other possible values.
|
||||
|
@ -13,8 +13,7 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
PDBInfoStream::PDBInfoStream(const PDBFile &File)
|
||||
: Pdb(File), Stream1(1, File) {}
|
||||
PDBInfoStream::PDBInfoStream(PDBFile &File) : Pdb(File), Stream1(1, File) {}
|
||||
|
||||
std::error_code PDBInfoStream::reload() {
|
||||
Stream1.setOffset(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user