aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorLuís Marques <luismarques@lowrisc.org>2020-02-21 19:26:09 +0000
committerLuís Marques <luismarques@lowrisc.org>2020-02-21 19:29:57 +0000
commit0781e93a6eaa71ec5d87be3bbeeeed053067f7ee (patch)
tree96f63c62f9bd6c31c764d8d35c5ecd2bad2f3ce3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent266959c0f72ff359a60fe43da0cf336604611029 (diff)
downloadllvm-0781e93a6eaa71ec5d87be3bbeeeed053067f7ee.zip
llvm-0781e93a6eaa71ec5d87be3bbeeeed053067f7ee.tar.gz
llvm-0781e93a6eaa71ec5d87be3bbeeeed053067f7ee.tar.bz2
[CodeGen][RISCV] Fix clang/test/CodeGen/atomic_ops.c for RISC-V
By default the RISC-V target doesn't have the atomics standard extension enabled. The first RUN line in `clang/test/CodeGen/atomic_ops.c` didn't specify a target triple, which meant that on RISC-V Linux hosts it would target RISC-V, but because it used clang cc1 we didn't get the toolchain driver functionality to automatically turn on the extensions implied by the target triple (riscv64-linux includes atomics). This would cause the test to fail on RISC-V hosts. This patch changes the test to have RUN lines for two explicit targets, one with native atomics and one without. To work around FileCheck limitations and more accurately match the output, some tests now have separate prefixes for the two cases. Reviewers: jyknight, eli.friedman, lenary, efriedma Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D74847
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions