mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:39:47 +00:00
Fix a bug regarding a mis-identified file type in pdbutil.
llvm-svn: 326929
This commit is contained in:
parent
1dfcc393d2
commit
d116a75d15
@ -263,7 +263,7 @@ Expected<InputFile> InputFile::open(StringRef Path) {
|
||||
return std::move(IF);
|
||||
}
|
||||
|
||||
if (Magic == file_magic::unknown) {
|
||||
if (Magic == file_magic::pdb) {
|
||||
std::unique_ptr<IPDBSession> Session;
|
||||
if (auto Err = loadDataForPDB(PDB_ReaderType::Native, Path, Session))
|
||||
return std::move(Err);
|
||||
|
Loading…
Reference in New Issue
Block a user