We never delete the allocated RegisterContext objects, causing those tests to fail with enabled memory sanitizer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Same as with the last one. For obviously correct bug fixes like this, just commit them. As an aside, make_unique will make this a bit shorter so it fits on one line. e.g. auto reg_interface = llvm::make_unique<RegisterContextLinux_x86_x64>(arch);