diff options
author | Andreu Carminati <andreu.carminati@hightec-rt.com> | 2024-01-26 18:36:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 09:36:59 -0800 |
commit | be8e462a0c27e4850020c96290cabdcdbcab46f3 (patch) | |
tree | 2c105518de65a25954feba7bc8245dce60ed5a41 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 45f883ed06f39fba7557dfbbff4d10595b45f874 (diff) | |
download | llvm-be8e462a0c27e4850020c96290cabdcdbcab46f3.zip llvm-be8e462a0c27e4850020c96290cabdcdbcab46f3.tar.gz llvm-be8e462a0c27e4850020c96290cabdcdbcab46f3.tar.bz2 |
[Clang][RISCV] Forward --no-relax option to linker for RISC-V (#76432)
In the case of -mno-relax option. Otherwise, we cannot prevent
relaxation if we split compilation and linking using Clang driver.
One can consider the following use case:
clang [...] -c -o myobject.o (just compile)
clang [...] myobject.o -o myobject.elf -mno-relax (linking)
In this case, myobject.elf will be relaxed, the -mno-relax will be
silently ignored.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions