[llvm-dev] Fwd: bugpoint can't automatically select a safe interpreter!
Jay Foad via llvm-dev
llvm-dev at lists.llvm.org
Mon Jul 22 09:10:48 PDT 2019
(Forgot to cc the list...)
> Bugpoint's user interface is notoriously complex. I'm not sure why it's
> going the safe interpreter route instead of reducing the crash, but I'd
> recommend trying the custom scripts approach in this article for
> reducing something like this:
>
> http://blog.llvm.org/2015/11/reduce-your-testcases-with-bugpoint-and.html
>
> It avoids some of bugpoint's magic, so it tends to be easier to get what
> you want.
Thanks! I got it working with:
$ cat script
~/llvm-debug/bin/opt -use-gpu-divergence-analysis -divergence
-disable-symbolication -o /dev/null "$@"
$ ~/llvm-debug/bin/bugpoint -compile-custom -compile-command=./script
stripped.bc
Jay.
More information about the llvm-dev
mailing list