ian-twilightcoder wrote:
It's not _just_ `BuiltinHeadersInSystemModules` either. There are lots of
things that the driver toolchain does that you shouldn't be skipping.
https://github.com/llvm/llvm-project/pull/144913
___
lldb-commits mailing list
lld
@@ -259,6 +259,27 @@ bool XcodeSDK::SupportsSwift() const {
}
}
+bool XcodeSDK::SDKSupportsBuiltinModules(const llvm::Triple &target_triple,
ian-twilightcoder wrote:
But you didn't pick up the environment check
https://github.com/llvm/llvm-project/pull/102
@@ -259,6 +259,27 @@ bool XcodeSDK::SupportsSwift() const {
}
}
+bool XcodeSDK::SDKSupportsBuiltinModules(const llvm::Triple &target_triple,
ian-twilightcoder wrote:
This function got changed in https://github.com/llvm/llvm-project/pull/102239
https://gith
ian-twilightcoder wrote:
This really isn't the right approach. `BuiltinHeadersInSystemModules` isn't the
only important default that the driver sets up. Can we change the invocation
setup to use clang::createInvocation or
clang::CompilerInvocation::CreateFromArgs or clang::BuildCompilation? Or