[llvm] [dsymutil] Filter our swiftinterface files from the toolchain. (PR #71205)

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 11:39:26 PDT 2023


================
@@ -177,6 +177,21 @@ static void resolveRelativeObjectPath(SmallVectorImpl<char> &Buf, DWARFDie CU) {
   sys::path::append(Buf, dwarf::toString(CU.find(dwarf::DW_AT_comp_dir), ""));
 }
 
+/// Make a best effort to guess the
+/// Xcode.app/Contents/Developer/Toolchains/ path from an SDK path.
+static SmallString<128> guessToolChainBaseDir(StringRef SysRoot) {
----------------
JDevlieghere wrote:

Nit: `s/ToolChain/Toolchain`.

https://github.com/llvm/llvm-project/pull/71205


More information about the llvm-commits mailing list