From: Android Tools Maintainers Date: Tue, 5 Apr 2022 11:39:26 +0000 (+0100) Subject: Adapt asm output of clang that no #/$ is placed before data X-Git-Tag: archive/raspbian/11.0.0+r48-4+rpi1~1^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2899fbe7a39947f12b3ae3c41e23a1d16811c801;p=android-platform-art.git Adapt asm output of clang that no #/$ is placed before data Forwarded: not-needed Gbp-Pq: Name adapt-asm-output-of-clang-that-no-is-placed-before-data.patch --- diff --git a/tools/cpp-define-generator/make_header.py b/tools/cpp-define-generator/make_header.py index 1b13923..ca87e5e 100755 --- a/tools/cpp-define-generator/make_header.py +++ b/tools/cpp-define-generator/make_header.py @@ -31,7 +31,7 @@ import sys def convert(input): """Find all defines in the compiler generated assembly and convert them to #define pragmas""" - asm_define_re = re.compile(r'">>(\w+) (?:\$|#)([-0-9]+) (?:\$|#)(0|1)<<"') + asm_define_re = re.compile(r'">>(\w+) (?:\$|#|)([-0-9]+) (?:\$|#|)(0|1)<<"') asm_defines = asm_define_re.findall(input) if not asm_defines: raise RuntimeError("Failed to find any asm defines in the input")