SWDEV-285333 - Introduce Address sanitizer hostcall service

Change-Id: Id29aacd09d0a9934a027446c57c7095804e1a454
Bu işleme şunda yer alıyor:
pvellien
2021-05-07 13:46:52 +00:00
işlemeyi yapan: Maneesh Gupta
ebeveyn ffa29fad01
işleme c11c02f2c7
13 değiştirilmiş dosya ile 609 ekleme ve 93 silme
+13
Dosyayı Görüntüle
@@ -45,6 +45,12 @@
#endif
#include "platform/sampler.hpp"
#if defined(__clang__)
#if __has_feature(address_sanitizer)
#include "device/rocm/rocurilocator.hpp"
#endif
#endif
#include <algorithm>
#include <cstring>
#include <fstream>
@@ -3026,5 +3032,12 @@ void Device::ReleaseGlobalSignal(void* signal) const {
}
}
#if defined(__clang__)
#if __has_feature(address_sanitizer)
device::UriLocator* Device::createUriLocator() const {
return new roc::UriLocator();
}
#endif
#endif
} // namespace roc
#endif // WITHOUT_HSA_BACKEND