commit | 642ad780e9875d4269bae1185decd23a3db1aa2c | [log] [tgz] |
---|---|---|
author | Ivan Tadeu Ferreira Antunes Filho <antunesi@google.com> | Mon Sep 22 17:33:53 2025 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Sep 22 14:35:32 2025 -0700 |
tree | 63e412403b3252fb8074d81d46c67311670dffc9 | |
parent | dbc4f83878661d0ca43201414db106ef67d0408c [diff] |
[lld][ELF] Fix gc-sections-print.s failure in read-only directories (#160204) If ld.lld is invoked without the `-o` option, it defaults to writing its output to `a.out` in the current directory. This can cause 'Permission denied' errors if a test is executed in a directory without write permissions, as can happen in some build environments. Add `-o %t2` to this command, consistent with other commands in the same test file, to prevent this failure by ensuring ld.lld writes to a temporary file instead of `a.out`. GitOrigin-RevId: 61a535a2cdf4a28495a03d906cfb4250acbc7da7
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f
.