Use /proc/<pid>/mem to read memory in remote DBI data target. It makes the test case...
authorMike McLaughlin <mikem@microsoft.com>
Thu, 30 May 2019 06:39:31 +0000 (23:39 -0700)
committerGitHub <noreply@github.com>
Thu, 30 May 2019 06:39:31 +0000 (23:39 -0700)
commite46ae5921c510309f252af21c2a88d341e4e15ab
tree53b273bfed5e8310d50b38daf2067a77f3589b2f
parentcc1f8ab68e645cd46601b1df50ff644dfffc4dae
Use /proc/<pid>/mem to read memory in remote DBI data target. It makes the test case run at (#24844)

least 4 to 5 times faster than before.

Fallback to old transport ReadMemory if /proc/<pid>/mem can't be opened. This happens
on attach because of permissions/access, but works fine on the launch (the most
important case).
src/debug/di/shimremotedatatarget.cpp
src/dlls/mscordac/mscordac_unixexports.src
src/pal/inc/pal.h
src/pal/src/cruntime/file.cpp