debuggerd: add -fno-finite-loop to fix test.

After compiler update, infinite side effect free loops are replaced with trap
instructions. So use -fno-finite-loop to disable this behavior.

Bug: 196162833
Test: run debuggerd_test.
Change-Id: I057263360a5df64af18c17a025fab48887d0b470
This commit is contained in:
Yabin Cui 2021-08-11 13:21:11 -07:00
parent 4a9a79e3ff
commit e90a944c8a

View file

@ -13,6 +13,7 @@ cc_defaults {
"-Wno-unused-function",
"-Wno-nullability-completeness",
"-Os",
"-fno-finite-loops",
],
local_include_dirs: ["include"],