diff options
author | Anders Svensson <[email protected]> | 2013-02-17 19:35:40 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-03-06 08:37:07 +0100 |
commit | 6c9ff9812608c1c893c50eb567f6e8121fdde35d (patch) | |
tree | 50926eff773ef9e27b1265ffc496d089b6bf66e5 /lib/os_mon | |
parent | 0a2237a18e16de514677c7c2a13bee7c6e32bbaf (diff) | |
download | otp-6c9ff9812608c1c893c50eb567f6e8121fdde35d.tar.gz otp-6c9ff9812608c1c893c50eb567f6e8121fdde35d.tar.bz2 otp-6c9ff9812608c1c893c50eb567f6e8121fdde35d.zip |
Extend cover.erl source search
Commit 29231033 made cover fall back to compile info if source was not
found in pwd or ../src. This isn't sufficient for source that lies in
subdirectories of ../src when beams and source have been moved since
compilation (eg. install of some OTP applications), so first try finding
source relative to the beam directory.
For example, given a beam path
/installed/path/to/app-1.0/ebin/root.beam
and a source path
/compiled/path/to/app/src/subdir/root.erl
then look for
/installed/path/to/app-1.0/ebin/../src/subdir/root.erl
before the source path.
Diffstat (limited to 'lib/os_mon')
0 files changed, 0 insertions, 0 deletions