[NativeAOT-LLVM] Improve wasmjit-diff.ps1
#2397
Labels
area-NativeAOT-LLVM
LLVM generation for Native AOT compilation (including Web Assembly)
wasmjit-diff.ps1
#2397
The script we now have is nice, and incredibly useful already, but lacking in many important respects.
We need:
obj
directory, usellvm-dis
to find and disassemble functions with diffs, dump those functions into diff files (alongside WASM or separately - open question).wasmjit-diff.ps1
#2496.--singlemethod
-based ILC command line given a diff index.The latter feature is critical for debugging, as right now you can only guess what caused the diffs. Now, single-method diffing can never be 100% faithful of the final compilation and in fact often isn't due to ILC's and LLVM's global analyses, but it is not really possible to do much about it short of replaying the whole compilation for one method, which is very slow.
The text was updated successfully, but these errors were encountered: