aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorGarvit Gupta <quic_garvgupt@quicinc.com>2025-06-17 21:43:17 +0530
committerGitHub <noreply@github.com>2025-06-17 21:43:17 +0530
commiteb31c422d0dc816bf285a81bf92690d4d16273ed (patch)
treebe4f113cbd2cb96b4937f150f1534779801e02df /clang/lib/AST/ByteCode/Compiler.cpp
parent00139f10c3cd4118de7148635c820bb42843287a (diff)
downloadllvm-eb31c422d0dc816bf285a81bf92690d4d16273ed.zip
llvm-eb31c422d0dc816bf285a81bf92690d4d16273ed.tar.gz
llvm-eb31c422d0dc816bf285a81bf92690d4d16273ed.tar.bz2
[Driver] Add support for GCC installation detection in Baremetal toolchain (#121829)
This patch introduces enhancements to the Baremetal toolchain to support GCC toolchain detection. - If the --gcc-install-dir or --gcc-toolchain options are provided and point to valid paths, the sysroot is derived from those locations. - If not, the logic falls back to the existing sysroot inference mechanism already present in the Baremetal toolchain. - Support for adding include paths for the libstdc++ library has also been added. Additionally, the restriction to always use the integrated assembler has been removed. With a valid GCC installation, the GNU assembler can now be used as well. This patch currently updates and adds tests for the ARM target only. RISC-V-specific tests will be introduced in a later patch, once the RISCVToolChain is fully merged into the Baremetal toolchain. At this stage, there is no way to test the RISC-V target within this PR. RFC: https://discourse.llvm.org/t/merging-riscvtoolchain-and-baremetal-toolchains/75524
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions