Change-Id: I6cc4e69a914389b53bc3b52535eb6faf24897a09
Этот коммит содержится в:
Saleel Kudchadker committed 2020-03-10 00:02:10 -07:00
1 родитель 8d05d06dce
Коммит 7bba326ed1
2 files changed
+17 -6

No files matched your search

+3 -3
Просмотреть файл
@@ -105,9 +105,9 @@ char* demangle(const char* loweredName) {
if (!loweredName) {
return nullptr;
}
#if HIPRTC_USE_CXXABI || __linux__
#if __linux__
int status = 0;
char* demangledName = abi::__cxa_demangle(loweredName, nullptr, nullptr, &status);
char* demangledName = DEMANGLE(loweredName, nullptr, nullptr, &status);
if (status != 0) {
return nullptr;
}
@@ -122,7 +122,7 @@ char* demangle(const char* loweredName) {
}
#else
#error "Only Linux and Windows are supported"
#endif // HIPRTC_USE_CXXABI || __linux__
#endif // __linux__
return demangledName;
}