unload3.c 307 B

12345678910
  1. // unload3: contains imageinfo but no other objc metadata
  2. // libobjc must not keep it open
  3. #include <TargetConditionals.h>
  4. int fake[2] __attribute__((section("__DATA,__objc_imageinfo")))
  5. = { 0, TARGET_OS_SIMULATOR ? (1<<5) : 0 };
  6. // silence "no debug symbols in executable" warning
  7. void fn(void) { }