diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2021-12-07 14:06:40 +0100 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2022-01-13 08:26:12 +0100 |
| commit | 9c9119ab364b0179af4a96a764f806d51878b37f (patch) | |
| tree | e3b0b1182e1eb5e12432a726d7f55052abc60658 /llvm/lib/IR/Module.cpp | |
| parent | d8716cd7d31c64a6aaa25d43569f1c00e553ab43 (diff) | |
| download | llvm-9c9119ab364b0179af4a96a764f806d51878b37f.zip llvm-9c9119ab364b0179af4a96a764f806d51878b37f.tar.gz llvm-9c9119ab364b0179af4a96a764f806d51878b37f.tar.bz2 | |
[clangd] Extend SymbolOrigin, stop serializing it
New values:
- Split Dynamic into Open/Preamble
- Add Background (previously was just Unknown)
- Soon: stdlib index
This requires extending to 16 bits, which fits within the padding of Symbol.
Unfortunately we're also *serializing* SymbolOrigin as a fixed 8 bits.
Stop serializing SymbolOrigin:
- conceptually, the source is whoever indexes or *deserializes* a symbol
- deserialization takes SymbolOrigin as a parameter and stamps it on each sym
- this is a breaking format change
Differential Revision: https://reviews.llvm.org/D115243
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions
