Skip to content
Snippets Groups Projects
Commit cdd24213 authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl] Fix RTL function prefix in debug compilation

parent b8d27920
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,8 @@ ...@@ -39,7 +39,8 @@
* otherwise. * otherwise.
*/ */
int separated2(void * ptr1, size_t size1, void * ptr2, size_t size2) { int separated2(void * ptr1, size_t size1, void * ptr2, size_t size2) {
DASSERT(valid_read(ptr1, size1, base_addr(ptr1), NULL) && valid_read(ptr2, size2, base_addr(ptr2), NULL)); DASSERT(eacsl_valid_read(ptr1, size1, eacsl_base_addr(ptr1), NULL)
&& eacsl_valid_read(ptr2, size2, eacsl_base_addr(ptr2), NULL));
// Cast pointers to char* to be able to do pointer arithmetic without // Cast pointers to char* to be able to do pointer arithmetic without
// triggering undefined behavior // triggering undefined behavior
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment