diff options
| author | Adrian McCarthy <amccarth@google.com> | 2017-01-27 00:01:55 +0000 |
|---|---|---|
| committer | Adrian McCarthy <amccarth@google.com> | 2017-01-27 00:01:55 +0000 |
| commit | 8f713190e779f093f3d180e7ed0122879464a3fe (patch) | |
| tree | 60ddb8622bd54351e0d0913e349b8886427fac54 /llvm/lib/DebugInfo/PDB | |
| parent | 834bb0e3b51e33e4142494e96544a500e98a17d1 (diff) | |
| download | bcm5719-llvm-8f713190e779f093f3d180e7ed0122879464a3fe.tar.gz bcm5719-llvm-8f713190e779f093f3d180e7ed0122879464a3fe.zip | |
NFC: Rename PDB_ReaderType::Raw to Native for consistency with the NativeSession rename.
llvm-svn: 293235
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/PDB.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/PDB/PDB.cpp b/llvm/lib/DebugInfo/PDB/PDB.cpp index 1011e11b586..7e3acc1165f 100644 --- a/llvm/lib/DebugInfo/PDB/PDB.cpp +++ b/llvm/lib/DebugInfo/PDB/PDB.cpp @@ -27,7 +27,7 @@ using namespace llvm::pdb; Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, std::unique_ptr<IPDBSession> &Session) { // Create the correct concrete instance type based on the value of Type. - if (Type == PDB_ReaderType::Raw) + if (Type == PDB_ReaderType::Native) return NativeSession::createFromPdb(Path, Session); #if LLVM_ENABLE_DIA_SDK @@ -40,7 +40,7 @@ Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, std::unique_ptr<IPDBSession> &Session) { // Create the correct concrete instance type based on the value of Type. - if (Type == PDB_ReaderType::Raw) + if (Type == PDB_ReaderType::Native) return NativeSession::createFromExe(Path, Session); #if LLVM_ENABLE_DIA_SDK |

