Use pread() to read DOS/NT headers when mapping PE files (#25059)
authorLeandro A. F. Pereira <leandro.pereira@microsoft.com>
Mon, 10 Jun 2019 22:44:29 +0000 (15:44 -0700)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 10 Jun 2019 22:44:29 +0000 (00:44 +0200)
commit90372481b01781243cd86f4eea93b8f976fba397
treeb91196cc11ff81c678fc28e1be61766cdd866bbf
parent730c3c5c66183418adbbc63acd40d261c9ce23ed
Use pread() to read DOS/NT headers when mapping PE files (#25059)

Shaves off two syscalls per managed assembly load.
src/pal/src/map/map.cpp