pytorch
ada966b7 - [pytorch] avoid `thread_local std::vector<Call>` for mobile build (#32849)

Commit
4 years ago
[pytorch] avoid `thread_local std::vector<Call>` for mobile build (#32849) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/32849 We learned that Android NDK's gcc + gnustl combination might produce a use-after-free for thread_local variables with non-trivial destructors. This PR removes such a thread_local use case from error_report.cpp for mobile build, which is the only case included in mobile lite-JIT build. ghstack-source-id: 97491327 Test Plan: - CI Reviewed By: dreiss Differential Revision: D19652702 fbshipit-source-id: ee8d316ad5c6e6c8a8006eb25f3bba1618dd7e6d
Author
Parents
Loading