stigger added a comment.

In https://reviews.llvm.org/D20041#533725, @zturner wrote:

> How difficult would be it be to eliminate the `PathSyntax` enumeration 
> entirely and update every user of `PathSyntax` to use a triple instead?


I've attempted to do it and hit two issues which I'm not sure how to resolve:

1. SymbolFilePDB.cpp:358 uses FileSpec with explicit `ePathSyntaxWindows`. It's 
possible to do something like `llvm::Triple("unknown", "unknown", "windows")`, 
but that kind of smells.
2. HostInfoBase.cpp:63 has a bunch of FileSpecs with `ePathSyntaxHostNative`, 
but at that moment it is not yet possible to use `HostInfo::GetArchitecture()`, 
because it's being constructed.


https://reviews.llvm.org/D20041



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to