diff options
author | Roland McGrath <mcgrathr@google.com> | 2025-09-19 11:14:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-19 11:14:05 -0700 |
commit | fc73ef42c92bf50547d5a069e98459a4a5615872 (patch) | |
tree | 8c9dac298b0cd90874f38acda489461505d571c0 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 16880116c9a180e1dfed69be383d20e1efd8d3c1 (diff) | |
download | llvm-fc73ef42c92bf50547d5a069e98459a4a5615872.zip llvm-fc73ef42c92bf50547d5a069e98459a4a5615872.tar.gz llvm-fc73ef42c92bf50547d5a069e98459a4a5615872.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions