about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-02 11:14:54 +0000
committerbors <bors@rust-lang.org>2017-08-02 11:14:54 +0000
commit22f256f69e61a0f2ceb7eb842589597f6fe4ce37 (patch)
tree1217cc20970a766ece338fda537dc7f63470dddf /src/libstd
parent5c385bef7a2429db496f809f2e5042774fe7079b (diff)
parentb2c3a413b955ac89be06367f4db7706cbd88dc9c (diff)
downloadrust-22f256f69e61a0f2ceb7eb842589597f6fe4ce37.tar.gz
rust-22f256f69e61a0f2ceb7eb842589597f6fe4ce37.zip
Auto merge of #43612 - michaelwoerister:fix-cgu-hashing, r=eddyb
incr.comp.: Properly incorporate symbol linkage and visibility into CGU hash.

This PR fixes the way the CGU hash for incr. comp. is computed. The CGU hash represents which `TransItems` are emitted into which codegen unit with which linkage and visibility. Before the new, LLVM-independent symbol internalizer the CGU hash did not accurately contain `TransItem` linkage and visibility because we would not enable symbol internalization in incremental mode anyway. The new internalizer is also run in incremental mode which uncovered the inaccuracy of CGU hashing. Luckily, the fix is rather simple.

r? @eddyb
cc @nikomatsakis
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions