diff options
author | Xing GUO <higuoxing@gmail.com> | 2020-08-21 19:01:35 +0800 |
---|---|---|
committer | Xing GUO <higuoxing@gmail.com> | 2020-08-21 19:02:10 +0800 |
commit | f5643dc3dce201a5c9b43cb68370bdbb4254495a (patch) | |
tree | 880b377011ac5d83b710b001c27d43a82dc20539 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | 1dd85e9d0e0d655f42f6c3072bae9b8195906e36 (diff) | |
download | llvm-f5643dc3dce201a5c9b43cb68370bdbb4254495a.zip llvm-f5643dc3dce201a5c9b43cb68370bdbb4254495a.tar.gz llvm-f5643dc3dce201a5c9b43cb68370bdbb4254495a.tar.bz2 |
Recommit: [DWARFYAML] Add support for referencing different abbrev tables.
The original commit (7ff0ace96db9164dcde232c36cab6519ea4fce8) was causing
build failure and was reverted in 6d242a73264ef1e3e128547f00e0fe2d20d3ada0
==================== Original Commit Message ====================
This patch adds support for referencing different abbrev tables. We use
'ID' to distinguish abbrev tables and use 'AbbrevTableID' to explicitly
assign an abbrev table to compilation units.
The syntax is:
```
debug_abbrev:
- ID: 0
Table:
...
- ID: 1
Table:
...
debug_info:
- ...
AbbrevTableID: 1 ## Reference the second abbrev table.
- ...
AbbrevTableID: 0 ## Reference the first abbrev table.
```
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D83116
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions