diff options
author | Luís Marques <luismarques@lowrisc.org> | 2022-04-07 12:00:41 +0100 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-04-25 20:44:44 -0700 |
commit | 0e27d08cdeb338766a477fba071b3df7a06ea6e2 (patch) | |
tree | c095e54092f23983b8597c17f7b5b59b9c43ce41 /libcxx/src/atomic.cpp | |
parent | a36801750327d05d5f8a19aec33819ae3f8f5e35 (diff) | |
download | llvm-llvmorg-14.0.2.zip llvm-llvmorg-14.0.2.tar.gz llvm-llvmorg-14.0.2.tar.bz2 |
[RISCV] Fix crash for section alignment with .option norvcllvmorg-14.0.2
The existing code wasn't getting the subtarget info from the fragment,
so the current status of RVC would be ignored. This would cause a crash
for the new test case when the target then reported it couldn't write
the requested number of code alignment bytes.
Differential Revision: https://reviews.llvm.org/D122236
(cherry picked from commit d09d297c5d28bd0af4dd8bf3ca66d8dbbd196d9d)
Diffstat (limited to 'libcxx/src/atomic.cpp')
0 files changed, 0 insertions, 0 deletions