HomePhabricator

Use RAII for ensuring that mprotect calls are undone

Authored by dberris on Jul 26 2016, 9:30 PM.

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

llvm-svn: 276833

Details

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