This caused out-of-bound bugs. Found by
-DLLVM_ENABLE_EXPENSIVE_CHECKS=ON.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 23472 Build 23471: arc lint + arc unit
Event Timeline
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp | ||
---|---|---|
94 | Could you just copy the Predecessors in the constructor, the way you do with WL? |
Comment Actions
Otherwise LGTM, and I verified that it fixes the expensive checks failure.
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp | ||
---|---|---|
94 | e.g. Preds(MBB->pred_begin(), MBB->pred_end()) |
Could you just copy the Predecessors in the constructor, the way you do with WL?