Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for llvm-disasm from the LLVM project #82

Merged
merged 3 commits into from
Nov 30, 2018

Conversation

langston-barrett
Copy link
Contributor

See the included README for motivation.

This test gives a very minimal example of a file for which llvm-disasm does the wrong thing as compared to any version of llvm-dis:

$ nix-shell --pure -p llvm_38 --run "./dist/build/disasm-test/disasm-test ./disasm-test/llvm-tests/mdnodes-distinct-nodes-first.ll"                          

--- /run/user/1000/mdnodes-distinct-nodes-first2986-1.ll        2018-11-26 14:39:30.834876979 -0800                                                          
+++ /run/user/1000/mdnodes-distinct-nodes-first2986-2.ll        2018-11-26 14:39:30.836876956 -0800                                                          
@@ -1,3 +1,3 @@
-!named = !{!0
-!0 = !{!1
-!1 = distinct !{!0
+!named = !{!1
+!0 = distinct !{!1
+!1 = !{!0
./disasm-test/llvm-tests/mdnodes-distinct-nodes-first.ll:success

@langston-barrett langston-barrett merged commit eeaa25a into GaloisInc:master Nov 30, 2018
@langston-barrett langston-barrett deleted the llvm-tests branch November 30, 2018 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant