summaryrefslogtreecommitdiff
path: root/xmake/rules/c++
diff options
context:
space:
mode:
authorstar9029 <[email protected]>2025-12-22 16:54:25 +0800
committerstar9029 <[email protected]>2025-12-22 16:54:25 +0800
commit05ad043eaf740be73dd0b95b6d5ab97a4d82ac59 (patch)
tree0c5b1c6e8f0b564ce14acc919d05462b6c5cd39e /xmake/rules/c++
parenta9e51834621aedeb6e8aa5aec0880af28ac4200d (diff)
add get_llvm_asan_flags
Diffstat (limited to 'xmake/rules/c++')
-rw-r--r--xmake/rules/c++/config/sanitizer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/config/sanitizer.lua b/xmake/rules/c++/config/sanitizer.lua
index 646197c0c..3293a6808 100644
--- a/xmake/rules/c++/config/sanitizer.lua
+++ b/xmake/rules/c++/config/sanitizer.lua
@@ -47,7 +47,7 @@ function _add_build_sanitizer(target, sourcekind, checkmode)
end
if target:is_plat("windows") and checkmode == "address" and not target:has_tool("cxx", "cl") then
- local ldflags = toolchain_utils.add_llvm_asan_flags(target)
+ local ldflags = toolchain_utils.get_llvm_asan_flags(target)
if #ldflags ~= 0 then
target:add("ldflags", ldflags, {force = true})
target:add("shflags", ldflags, {force = true})