Closed FerranAlet closed 3 years ago
Hi,
this is probably a bug in dgtool
. It works in a temporary directory and does not copy back the created files. Until this issue is resolved, you can fix it by not using dgtool
(just use clang
+ llvm-slicer
).
Or you can use the -o option for the slicer.
Thanks @mchalupa that worked!
Hi,
I'm running
dg/tools/dgtool llvm-slicer -c 21:C -cda ntscd hello.cpp -statistics
on a simple code (pasted below). It seems to work fine, printing:However, there is no hello.sliced anywhere. Any ideas on how to get the file or at least get the lines from the source code that aren't sliced?
Thanks!
In case it helps; this is the code: