immunant / IA2-Phase2

5 stars 0 forks source link

runtime: support compiling with `-fvisibility=hidden` #442

Closed kkysen closed 1 month ago

kkysen commented 1 month ago

For the runtime support for -fvisibility=hidden, we just need to mark the runtime functions that are called across translation units as having default (i.e. exported) visibility with __attribute__((visibility("default"))).