Ignore frame-larger-than for Dex2oatArgumentMap::Parse
Bug: http://b/63768402
This warning is ignored for all other functions in this file. Applying
PGO pushes this function over the frame limit as well.
Test: Build with a PGO profile.
Change-Id: I8fac77b55657e83d66975d76ceb47e4d9d07f96d
diff --git a/dex2oat/dex2oat_options.cc b/dex2oat/dex2oat_options.cc
index d9b4ea7..a2e2b48 100644
--- a/dex2oat/dex2oat_options.cc
+++ b/dex2oat/dex2oat_options.cc
@@ -249,8 +249,6 @@
return parser_builder->Build();
}
-#pragma GCC diagnostic pop
-
std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc,
const char** argv,
std::string* error_msg) {
@@ -264,4 +262,5 @@
return std::unique_ptr<Dex2oatArgumentMap>(new Dex2oatArgumentMap(parser.ReleaseArgumentsMap()));
}
+#pragma GCC diagnostic pop
} // namespace art