HomePhabricator

Use RAII for ensuring that mprotect calls are undone

Description

Use RAII for ensuring that mprotect calls are undone

Summary: This fixes an mprotect leak identified in D21612.

Reviewers: echristo, rSerge

Subscribers: mehdi_amini, llvm-commits

Differential Revision: https://reviews.llvm.org/D22757

Details

Committed
dberrisJul 26 2016, 9:30 PM
Differential Revision
D22757: Use RAII for ensuring that mprotect calls are undone
Parents
rL276832: [llvm-cov] Escape '\' in strings when emitting JSON
Branches
Unknown
Tags
Unknown