File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ function(swift_add_valgrind_memcheck target)
302
302
_valgrind_arguments_setup(${target} ${valgrind_tool} "${argOption} " "${argSingle} " "${argMulti} " "${ARGN} " )
303
303
304
304
list (APPEND valgrind_tool_options --tool=${valgrind_tool} )
305
+ list (APPEND valgrind_tool_options --track-origins=yes )
305
306
306
307
if (x_TRACE_CHILDREN)
307
308
list (APPEND valgrind_tool_options --xml=yes --xml-file=${output_file} .xml.%p)
@@ -313,10 +314,6 @@ function(swift_add_valgrind_memcheck target)
313
314
list (APPEND valgrind_tool_options --show-reachable=yes )
314
315
endif ()
315
316
316
- if (x_TRACK_ORIGINS)
317
- list (APPEND valgrind_tool_options --track-origins=yes )
318
- endif ()
319
-
320
317
if (x_UNDEF_VALUE_ERRORS)
321
318
list (APPEND valgrind_tool_options --undef-value -errors=yes )
322
319
endif ()
You can’t perform that action at this time.
0 commit comments