mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Create lib/DebugInfo/PDB.
This patch creates a platform-independent interface to a PDB reader. There is currently no implementation of this interface, which will be provided in future patches. This defines the basic object model which any implementation must conform to. Reviewed by: David Blaikie Differential Revision: http://reviews.llvm.org/D7356 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
21
lib/DebugInfo/PDB/PDB.cpp
Normal file
21
lib/DebugInfo/PDB/PDB.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
//===- PDB.cpp - base header file for creating a PDB reader -----*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#include "llvm/DebugInfo/PDB/PDB.h"
|
||||
#include "llvm/DebugInfo/PDB/IPDBSession.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
std::unique_ptr<IPDBSession> llvm::createPDBReader(PDB_ReaderType Type,
|
||||
StringRef Path) {
|
||||
// Create the correct concrete instance type based on the value of Type.
|
||||
return nullptr;
|
||||
}
|
Reference in New Issue
Block a user