-debug-only=inline-cost does not exist in optimized builds without asserts and therefore the test fails for such configurations. Related revision: c965fd94