Files
swift-mirror/test/embedded/linkage/Inputs/MyModuleExports.h
Doug Gregor cc519a09d0 [Embedded] Identify more places to emit symbols even with deferred code generation
Deferred code generation only produces symbols when they are needed.
Expand this out to cover more of the cases where we need them:
* @c/@_cdecl with and without @implementation
* @_expose(Cxx) and @_expose(Wasm)
* @_section and @_used
* (already present) the main entry point

Part of the Embedded Swift linkage model. Also fixes #74328 /
rdar://147207945 along the way.
2025-10-03 16:00:46 -07:00

5 lines
100 B
C

double clib_func1(void);
double clib_func2(void);
double clib_func3(void);
double clib_func4(void);