LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | arm: LLVMLinux: Add global named register current_stack_pointer for ARMarch/ | +5 | 0 replies | |
| 2/6 | arm: LLVMLinux: Use current_stack_pointer to calculate pt_regs addressarch/ | +2 | 0 replies | |
| 3/6 | arm: LLVMLinux: Use current_stack_pointer for return_addressarch/ | +1 | 0 replies | |
| 4/6 | arm: LLVMLinux: Use current_stack_pointer in save_stack_trace_tskarch/ | +1 | 0 replies | |
| 5/6 | arm: LLVMLinux: Calculate current_thread_info from current_stack_pointerarch/ | +2 | 0 replies | |
| 6/6 | arm: LLVMLinux: Use current_stack_pointer in unwind_backtracearch/ | +1 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jan-Simon Möller | Mark Charlebois | Will Deacon | Nicolas Pitre |
|---|---|---|---|---|
| Series | A-b | A-b | ||
| 1/6 | R-b | R-b | ||
| 2/6 | R-b | |||
| 3/6 | R-b | |||
| 4/6 | R-b | |||
| 5/6 | R-b | |||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM
From: Behan Webster <[email protected]>
The LLVMLinux project aims to fully build the Linux kernel using both gcc and clang (the C front end for the LLVM compiler infrastructure project).
Clang only supports global named registers for non-allocatable registers like the stack pointer. By centralizing the definition of current_stack_pointer, the use of named registers for ARM remains largely unchanged while working for both gcc and clang.
Behan Webster (6):
arm: LLVMLinux: Add global named register current_stack_pointer for
ARM
arm: LLVMLinux: Use current_stack_pointer to calculate pt_regs address
arm: LLVMLinux: Use current_stack_pointer for return_address
arm: LLVMLinux: Use current_stack_pointer in save_stack_trace_tsk
arm: LLVMLinux: Calculate current_thread_info from
current_stack_pointer
arm: LLVMLinux: Use current_stack_pointer in unwind_backtrace
arch/arm/include/asm/ptrace.h | 5 ++--- arch/arm/include/asm/thread_info.h | 9 +++++++-- arch/arm/kernel/return_address.c | 3 +-- arch/arm/kernel/stacktrace.c | 4 +--- arch/arm/kernel/unwind.c | 3 +-- 5 files changed, 12 insertions(+), 12 deletions(-)
Signature · 1 line
1.9.1