You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No reachable slicing criteria: '' 'ret'
[llvm-slicer] saving sliced module to: example.sliced
I am getting same output when I try to slice using line numbers. If I give -c 7:z I am getting following output:
No reachable slicing criteria: '' '7:z'
[llvm-slicer] saving sliced module to: example.sliced
But if I use a function call site as a slicing criteria it is generating correct slice. Both -c foo and -c 7:z is working, given that foo is called in line 7 passing z as parameter.
The text was updated successfully, but these errors were encountered:
I am trying to slice following example (Adding line number for convenience):
I am trying to slice on return statement in following way:
llvm-slicer is giving following output:
I am getting same output when I try to slice using line numbers. If I give
-c 7:z
I am getting following output:But if I use a function call site as a slicing criteria it is generating correct slice. Both
-c foo
and-c 7:z
is working, given that foo is called in line 7 passing z as parameter.The text was updated successfully, but these errors were encountered: