diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-15 18:02:56 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-15 18:02:56 +0000 |
commit | 03c40c5182722022bf74174c69add8fed2faee69 (patch) | |
tree | 1dcfa67c09883535e581b2735abb6774b6678622 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | 6dda032003306ab5fd383676979a59a3a98d6d12 (diff) | |
download | llvm-03c40c5182722022bf74174c69add8fed2faee69.zip llvm-03c40c5182722022bf74174c69add8fed2faee69.tar.gz llvm-03c40c5182722022bf74174c69add8fed2faee69.tar.bz2 |
[PCH] Overhaul how preprocessed entities are [de]serialized.
-Use an array of offsets for all preprocessed entities
-Get rid of the separate array of offsets for just macro definitions;
for references to macro definitions use an index inside the preprocessed
entities array.
-Deserialize each preprocessed entity lazily, at first request; not in bulk.
Paves the way for binary searching of preprocessed entities that will offer
efficiency and will simplify things on the libclang side a lot.
llvm-svn: 139809
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions