how to actually count the dynamic instructions in the code? I am trying to write a pass, i have built it successfully too but still getting the error when trying to run with a file. ERROR IS: bash: /home/haier/Documents/build/bin/opt: Permission denied -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181121/4c32792a/attachment.html>
Did you ensure the file is executable (`chmod +x bin/opt` and `ls -l bin/opt` will probably give you that information). Am 21.11.18 um 18:54 schrieb yusra seemi via llvm-dev:> how to actually count the dynamic instructions in the code? I am > trying to write a pass, i have built it successfully too but still > getting the error when trying to run with a file. > ERROR IS: > bash: /home/haier/Documents/build/bin/opt: Permission denied > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181124/5b02e51f/attachment.html>