about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-07-29 19:55:30 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-08-02 05:31:25 -0400
commitb4929d11aea4b497b8f53b11a595a8cbc55c9f1e (patch)
tree29e8b355f56fdca9cf9034b3dede58dd0c7cd1f1 /src/rustllvm/RustWrapper.cpp
parentc56eb4b7f5206f157aa200e8424f697791990d27 (diff)
downloadrust-b4929d11aea4b497b8f53b11a595a8cbc55c9f1e.tar.gz
rust-b4929d11aea4b497b8f53b11a595a8cbc55c9f1e.zip
watch out for krate numbers being reassigned
The biggest problem, actually, is krate numbers being removed entirely,
which can lead to array-index-out-of-bounds errors.

cc #35123 -- not a complete fix, since really we ought to "map" the old
crate numbers to the new ones, not just detect changes.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions