about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-05-09 12:50:21 -0700
committerManish Goregaokar <manishsmail@gmail.com>2016-05-09 14:59:29 -0700
commit9f5f997c13c015c2bfcbbd6a4b4439df568554b1 (patch)
tree2a4ce7c55911df0734ca6b01bd1738507d429f4e /src/rustllvm/RustWrapper.cpp
parentd394aa064e54943fcf3e1c73007e4b17a13328ca (diff)
parent192e336148babf0dc9d83399955e94544305296a (diff)
downloadrust-9f5f997c13c015c2bfcbbd6a4b4439df568554b1.tar.gz
rust-9f5f997c13c015c2bfcbbd6a4b4439df568554b1.zip
Rollup merge of #33370 - aochagavia:dump, r=nrc
save-analysis: use a decoupled representation for dumped data

Closes #33348

This will probably break any tool relying on the csv backend of save_analysis, for the following reasons:

1. Dumped spans don't contain extents anymore (`Dump` uses `SpanData` now instead of internal `Span`s). In case we still want to dump extents we could add them to `SpanData`.
1. `DefId`s are no longer dumped as a pair of `(ref_id, ref_crate)`. Instead, they are dumped as a single `Id`.

@nrc You said something about storing the id in a `u64`, but you didn't explain why. I kept using `u32` in this branch but I can change it if you prefer that.

r? @nrc

By the way, the fact that this breaks tools relying on CSV may be a good occasion to start dumping CSV in a different way (i.e. using the serializer like in the JSON backend).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions