Skip to content

Commit

Permalink
rstate.set_no_outlining for loadLibrary
Browse files Browse the repository at this point in the history
Reviewed By: wsanville

Differential Revision: D68458241

fbshipit-source-id: 333d9e5b5e8ac09fbb4593fecd92b29a72a1aa7e
  • Loading branch information
Nikolai Tillmann authored and facebook-github-bot committed Jan 22, 2025
1 parent 1c4f350 commit 72f1b2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opt/reachable-natives/ReachableNatives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void ReachableNativesPass::eval_pass(DexStoresVector& stores,
std::string(method_name).c_str());
method->rstate.set_root();
method->rstate.set_dont_inline();
method->rstate.set_no_outlining();
m_load_library_unsafe_methods.insert(method);
}
for (std::string_view method_name :
Expand All @@ -135,6 +136,7 @@ void ReachableNativesPass::eval_pass(DexStoresVector& stores,
std::string(method_name).c_str());
method->rstate.set_root();
method->rstate.set_dont_inline();
method->rstate.set_no_outlining();
m_load_library_methods.insert(method);
}

Expand Down

0 comments on commit 72f1b2a

Please sign in to comment.