HomePhabricator

Fix SO entry is main executable detection on android

Description

Fix SO entry is main executable detection on android

  • On Android (at least on platfrom-21 x86) the dynamic linker reports the executable with its full path
  • Use the platform path of the executable when storing it into the cache (used to identify the SO entry for the executable) as this is the path what will be reported by the dynamic linker. If the platform path isn't set (local debugging) then it falls back to the normal file path.

Differential revision: http://reviews.llvm.org/D8296

Details

Committed
tberghammerMar 13 2015, 4:16 AM
Differential Revision
D8296: Fix SO entry is main executable detection on android
Parents
rLLDB232157: Fix missing data in GetProcessInfo on linux
Branches
Unknown
Tags
Unknown