From e40e2bf8db5ad5dce8c9e1e404309102a556f83d Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 8 Jun 2021 14:52:45 -0700 Subject: [PATCH] Add one Asm warning pattern Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html Test: warn.py --gencsv build.log > warnings.csv Change-Id: I85b53c15b5a9e705e939e2cf810a0344df6dbeda --- tools/warn/other_warn_patterns.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/warn/other_warn_patterns.py b/tools/warn/other_warn_patterns.py index dd078fb49b..c95528c501 100644 --- a/tools/warn/other_warn_patterns.py +++ b/tools/warn/other_warn_patterns.py @@ -80,6 +80,8 @@ warn_patterns = [ [r".*: warning: value size does not match register size specified by the constraint and modifier"]), asm('IT instruction is deprecated', [r".*: warning: applying IT instruction .* is deprecated"]), + asm('section flags ignored', + [r".*: warning: section flags ignored on section redeclaration"]), asm('setjmp/longjmp/vfork changed binding', [r".*: warning: .*(setjmp|longjmp|vfork) changed binding to .*"]), # NDK warnings