[clang] [Clang][Driver] Fix the missing Target-Triple-Level include path resolution in Baremetal Driver (PR #165321)

Simi Pallipurath via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 3 08:22:08 PST 2025


================
@@ -419,6 +421,12 @@ void BareMetal::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
       llvm::sys::path::append(Dir, "include");
       addSystemInclude(DriverArgs, CC1Args, Dir.str());
     }
+    SmallString<128> Dir = SysRootDir;
----------------
simpal01 wrote:

Done

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


More information about the cfe-commits mailing list