aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-07-04 00:24:28 -0700
committerShuah Khan <[email protected]>2024-07-11 11:23:55 -0600
commit2ab9c93d6104e36110754d0778103f7f8719d969 (patch)
tree702ddcb94810725fcf3e2ae48391b037995b2f3e /scripts/rustdoc_test_builder.rs
parent1158655317b6b6e71980533939dce9ab91d9716b (diff)
selftests/x86: build sysret_rip.c with clang
When building with clang, via: make LLVM=1 -C tools/testing/selftests ...the build fails because clang's inline asm doesn't support all of the features that are used in the asm() snippet in sysret_rip.c. Fix this by moving the asm code into the clang_helpers_64.S file, where it can be built with the assembler's full set of features. Acked-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: John Hubbard <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions