SPIRV-Tools/include/spirv-tools
Sven van Haastregt dadb3012d5
Add SPIRV_TOOLS_EXPORT to public C++ API (#5591)
In contrast to the C API, the C++ API did not have symbol visibility
specified.  An application using the C++ API would fail to link
against a shared SPIRV-Tools library built with `-fvisibility=hidden`.

Mark all classes in the public `.hpp` files with `SPIRV_TOOLS_EXPORT`.
Add `SPIRV_TOOLS_LOCAL` to hide nested structs containing
implementation details.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2024-04-18 17:31:34 -04:00
..
instrument.hpp printf: Remove stage specific info (#5495) 2023-12-04 15:43:36 -07:00
libspirv.h Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00
libspirv.hpp Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00
linker.hpp Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00
linter.hpp Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00
optimizer.hpp Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00