This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export exception classes with default visibility
Summary: This fixes a crash caused by a `JSError` exception not being successfully caught in a different dynamic library from where it was thrown. Since the libraries were compiled with hidden symbols and loaded with `RTLD_LOCAL`, the exception typeinfo becomes unique to each module. Reading on this subject: https://gcc.gnu.org/wiki/Visibility https://stackoverflow.com/questions/14268736/symbol-visibility-exceptions-runtime-error Reviewed By: mhorowitz Differential Revision: D19343161 fbshipit-source-id: 4eb3bc2576bbcca2c3aef4f52b5a27dfde214c6a
- Loading branch information
Showing 1 changed file with 3 additions and 3 deletions.