SWDEV-285333 - Introduce Address sanitizer hostcall service
Change-Id: Id29aacd09d0a9934a027446c57c7095804e1a454
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Maneesh Gupta
ebeveyn
ffa29fad01
işleme
c11c02f2c7
@@ -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
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle