Detected by msan with:
-Xclang -enable-noundef-analysis -mllvm -msan-eager-checks=1
Details
Details
- Reviewers
kda eugenis - Commits
- rGbd9ae596d863: Initialize ExtAddrMode::Scale
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I wonder if this should be placed in the struct as a default initializer. (TargetInstrInfo.h)
Short term, I think you work is right and matches the spirit of existing code.
But it seems like a vulnerability if anyone else were to use the struct and not initialize all members.