mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
10 lines
185 B
Plaintext
10 lines
185 B
Plaintext
(defmodule Debug
|
|
|
|
(defdynamic sanitize-addresses []
|
|
(add-cflag "-fsanitize=address"))
|
|
|
|
(register memory-balance (Fn [] Long))
|
|
(register reset-memory-balance! (Fn [] ()))
|
|
|
|
)
|