react-native-macos/React
Tadeu Zagallo 0f92639a96 Prevent RCTProfileTrampoline from getting stripped
Summary: public

I was using `dlsym` as a more elegant way of checking if the function was defined
to prevent crashes if running on an unsupported architecture, but Xcode might
strip the symbol, even with `.no_dead_strip`, if there's no references to the
compilation unit at all.

Replace it with an ugly `#if` that checks if it's any of the supported targets
and extern the function prototype.

Reviewed By: jspahrsummers

Differential Revision: D2581143

fb-gh-sync-id: b004ed351de97f96c04b4a6c914ce55cfcbbbcbb
2015-10-27 13:03:28 -07:00
..
Base Fixed dev mode override to work with unminified JS 2015-10-27 04:14:29 -07:00
Executors Measure script conversion time in RCTPLScriptExecution 2015-10-22 06:41:28 -07:00
Layout Fix width being ignored when has a value of 0 2015-09-25 15:42:21 -07:00
Modules RCTUIManager's setFrame:forView: fix - add support for Modal 2015-10-27 09:22:28 -07:00
Profiler Prevent RCTProfileTrampoline from getting stripped 2015-10-27 13:03:28 -07:00
React.xcodeproj Fixed build for UIExplorer project. 2015-10-27 02:42:26 -07:00
Views Size flexibility modes for RCTRootView 2015-10-26 15:41:29 -07:00