mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Revert SymbolFileNativePDB plugin.
This was originally causing some test failures on non-Windows platforms, which required fixes in the compiler and linker. After those fixes, however, other tests started failing. Reverting temporarily until I can address everything. llvm-svn: 344279
This commit is contained in:
parent
2e980a3528
commit
bb570bcf32
@ -73,7 +73,6 @@
|
||||
#include "llvm/Support/Error.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/SMLoc.h"
|
||||
#include "llvm/Support/ScopedPrinter.h"
|
||||
#include "llvm/Target/TargetLoweringObjectFile.h"
|
||||
@ -135,9 +134,7 @@ StringRef CodeViewDebug::getFullFilepath(const DIFile *File) {
|
||||
|
||||
// If this is a Unix-style path, just use it as is. Don't try to canonicalize
|
||||
// it textually because one of the path components could be a symlink.
|
||||
if (Dir.startswith("/") || Filename.startswith("/")) {
|
||||
if (llvm::sys::path::is_absolute(Filename, llvm::sys::path::Style::posix))
|
||||
return Filename;
|
||||
if (!Dir.empty() && Dir[0] == '/') {
|
||||
Filepath = Dir;
|
||||
if (Dir.back() != '/')
|
||||
Filepath += '/';
|
||||
|
Loading…
Reference in New Issue
Block a user