mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
f804bd586e
As it can be seen in newly-added (previously-crashing) test-case, there can be a situation where multiple GV's are used in instr, and we would schedule the same instruction to be deleted several times, crashing when trying to delete it the second time. We could either store WeakVH (done here), or use something set-like. I think using WeakVH is prevalent in these cases elsewhere. |
||
---|---|---|
.. | ||
Inputs | ||
remove-args.ll | ||
remove-bbs.ll | ||
remove-funcs.ll | ||
remove-global-vars.ll | ||
remove-instructions.ll | ||
remove-metadata.ll | ||
remove-multiple-use-of-args-in-same-instruction.ll | ||
remove-multiple-use-of-global-vars-in-same-instruction.ll |