mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SwiftDemangle: build on non-Darwin targets
This can be useful as a consumer for demangling swift symbols. Build the shared library on non-Darwin targets as well.
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
|
||||
#include "swift/Demangling/Demangle.h"
|
||||
#include "swift/SwiftDemangle/SwiftDemangle.h"
|
||||
#if defined(__linux__) || defined(_WIN32)
|
||||
#include <bsd/string.h>
|
||||
#endif
|
||||
|
||||
static size_t swift_demangle_getDemangledName_Options(const char *MangledName,
|
||||
char *OutputBuffer, size_t Length,
|
||||
|
||||
Reference in New Issue
Block a user