commit | 61eb378bfed76af106b23e3035a7ad26bfd1c36b | [log] [tgz] |
---|---|---|
author | Roland McGrath <mcgrathr@google.com> | Fri Sep 19 11:14:05 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 19 11:18:15 2025 -0700 |
tree | abcfb733cc713c52ddf0c5f6632ec280010d74b2 | |
parent | ff5c43895f45fed39f723689df11222e40d5418d [diff] |
[clang][Driver] Clean up UEFI linker argument handling (#159639) This makes the UEFI driver's handling of linking more canonical in a few ways: * Use /option:value syntax with lld-link as in the MSVC driver. * Handle -nostdlib, -nodefaultlibs, -r and call common subroutines when they aren't set. This covers sanitizer and profile runtimes and their associated switches; compiler-rt builds do not yet provide these libraries, but the driver behavior is opt-in and supports all the opt-in/out plumbing like other targets do. This lets command lines immediately use the opt-out switches even when they are superfluous for opt-in features, as build system plumbing often needs to do. It also updates some TODO comments for how the driver behavior will look when more runtime support is ready. GitOrigin-RevId: fc73ef42c92bf50547d5a069e98459a4a5615872
Welcome to Clang.
This is a compiler front-end for the C family of languages (C, C++ and Objective-C) which is built as part of the LLVM compiler infrastructure project.
Unlike many other compiler frontends, Clang is useful for a number of things beyond just compiling code: we intend for Clang to be host to a number of different source-level tools. One example of this is the Clang Static Analyzer.
If you're interested in more (including how to build Clang) it is best to read the relevant websites. Here are some pointers:
Information on Clang: http://clang.llvm.org/
Building and using Clang: http://clang.llvm.org/get_started.html
Clang Static Analyzer: http://clang-analyzer.llvm.org/
Information on the LLVM project: http://llvm.org/
If you have questions or comments about Clang, a great place to discuss them is on the Clang forums:
If you find a bug in Clang, please file it in the LLVM bug tracker: