Skip to content

Commit

Permalink
Fix API names for variable sized operations
Browse files Browse the repository at this point in the history
Change-Id: Ica791ffdb807474f1797127bff9aebb37c6abf90
  • Loading branch information
b-sumner committed Jul 23, 2024
1 parent 9af0a09 commit b9205fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amd/device-libs/asanrtl/src/report.cl
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ ASAN_ERROR(store, 16,1)

#define ASAN_ERROR_N(type, is_write) \
USED NO_INLINE NO_SANITIZE_ADDR \
void __asan_ ## type ## _n(uptr addr, uptr size) { \
void __asan_ ## type ## N(uptr addr, uptr size) { \
uptr caller_pc = GET_CALLER_PC(); \
if (__asan_region_is_poisoned(addr, size)) { \
REPORT_IMPL(caller_pc, addr, is_write, size, false) \
} \
} \
USED NO_INLINE NO_SANITIZE_ADDR \
void __asan_ ## type ## _n_noabort(uptr addr, uptr size) { \
void __asan_ ## type ## N_noabort(uptr addr, uptr size) { \
uptr caller_pc = GET_CALLER_PC(); \
if (__asan_region_is_poisoned(addr, size)) { \
REPORT_IMPL(caller_pc, addr, is_write, size, true) \
Expand Down

0 comments on commit b9205fa

Please sign in to comment.