SWDEV-285333 - Introduce Address sanitizer hostcall service
Change-Id: Id29aacd09d0a9934a027446c57c7095804e1a454
[ROCm/clr commit: c11c02f2c7]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user