mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-24 21:28:24 +00:00
14 lines
782 B
Diff
14 lines
782 B
Diff
Index: llvm-toolchain-snapshot_19~++20240622104700+f5b93ae5884d/openmp/runtime/tools/check-execstack.py
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_19~++20240622104700+f5b93ae5884d.orig/openmp/runtime/tools/check-execstack.py
|
|
+++ llvm-toolchain-snapshot_19~++20240622104700+f5b93ae5884d/openmp/runtime/tools/check-execstack.py
|
|
@@ -30,7 +30,7 @@ def is_stack_executable_readelf(library)
|
|
error("{}: Not stack segment found".format(library))
|
|
if len(stack_lines) > 1:
|
|
error("{}: More than one stack segment found".format(library))
|
|
- h = r"0x[0-9a-fA-F]+"
|
|
+ h = r"0(?:x[0-9a-f]+)"
|
|
m = re.search(
|
|
r"((GNU_)?STACK)\s+({0})\s+({0})\s+({0})\s+({0})\s+({0})"
|
|
" ([R ][W ][E ])".format(h),
|