mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 14:50:26 +00:00
[msan] Clean up extensions during msandr shutdown
Otherwise debug DynamoRIO complains at us for leaking memory. llvm-svn: 176947
This commit is contained in:
parent
dfbcba5ae0
commit
2325273641
@ -511,6 +511,11 @@ void event_module_unload(void *drcontext, const module_data_t *info) {
|
||||
}
|
||||
|
||||
void event_exit() {
|
||||
// Clean up so DR doesn't tell us we're leaking memory.
|
||||
drsys_exit();
|
||||
drutil_exit();
|
||||
drmgr_exit();
|
||||
|
||||
if (VERBOSITY > 0)
|
||||
dr_printf("==DRMSAN== DONE\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user