diff options
author | Sverker Eriksson <[email protected]> | 2015-08-31 17:02:20 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-08-31 17:02:20 +0200 |
commit | 7ca6ef08b9cc7f29868afb22db9a67dc1068f12e (patch) | |
tree | fd0d3e3d9a912235f1cb4509fa40b46f9d8e2cdc /lib/dialyzer/src/dialyzer_cl.erl | |
parent | 484365775a8c780af8e77864ec8a0f4335a5ae38 (diff) | |
parent | 3af9e6ef9bd6a9e9faf0e5bf683f4f1c5c0c0ca9 (diff) | |
download | otp-7ca6ef08b9cc7f29868afb22db9a67dc1068f12e.tar.gz otp-7ca6ef08b9cc7f29868afb22db9a67dc1068f12e.tar.bz2 otp-7ca6ef08b9cc7f29868afb22db9a67dc1068f12e.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_cl.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl index 55302d5869..4116866916 100644 --- a/lib/dialyzer/src/dialyzer_cl.erl +++ b/lib/dialyzer/src/dialyzer_cl.erl @@ -547,13 +547,13 @@ hc(Mod, Cache) -> hc_cache(Mod) -> CacheBase = cache_base_dir(), - %% Use HiPE architecture and version in directory name, to avoid - %% clashes between incompatible binaries. + %% Use HiPE architecture, version and erts checksum in directory name, + %% to avoid clashes between incompatible binaries. HipeArchVersion = lists:concat( [erlang:system_info(hipe_architecture), "-", hipe:version(), "-", - hipe_bifs:system_crc()]), + hipe:erts_checksum()]), CacheDir = filename:join(CacheBase, HipeArchVersion), OrigBeamFile = code:which(Mod), {ok, {Mod, <<Checksum:128>>}} = beam_lib:md5(OrigBeamFile), |