mirror of
https://abf.rosa.ru/djam/java-17-openjdk.git
synced 2025-05-08 23:21:18 +00:00
build clang
This commit is contained in:
parent
7c79585c9c
commit
a8dd187647
2 changed files with 19 additions and 3 deletions
12
clang_stack.patch
Normal file
12
clang_stack.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -urN openjdk/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp openjdk-diff/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp
|
||||
--- openjdk/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2020-06-10 19:44:52.000000000 +0000
|
||||
+++ openjdk-diff/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2020-07-12 21:26:42.912877532 +0000
|
||||
@@ -825,7 +825,7 @@
|
||||
|
||||
#ifndef PRODUCT
|
||||
void os::verify_stack_alignment() {
|
||||
-#ifdef AMD64
|
||||
+#if defined(AMD64) && ! defined(__clang__)
|
||||
assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment");
|
||||
#endif
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue