Create new MetadataCodes METADATA_LABEL. Bitcode reader will use GET_OR_DISTINCT()
to create DILabel objects and store the objects into LLVMContext.
In addition, implement bitcode writer in ModuleBitcodeWriter.
Paths
| Differential D45026
[DebugInfo] Add bitcode reader/writer for DILabel metadata. AbandonedPublic Authored by HsiangKai on Mar 29 2018, 6:58 AM.
Details
Diff Detail
Event TimelineHsiangKai added a parent revision: D45025: [DebugInfo] Add parser for DILabel metadata..Mar 29 2018, 7:23 AM HsiangKai added a child revision: D45027: [DebugInfo] Add intrinsic function llvm.dbg.label for labels.. Comment Actions It's usual to do bitcode and text reading/writing for new metadata all in one patch; splitting it up actually makes it harder to review. Comment Actions
Merged into D45024. This patch should be abandoned.
Revision Contents
Diff 140223 include/llvm/Bitcode/LLVMBitCodes.h
lib/Bitcode/Reader/MetadataLoader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
|
According D45025, should be Record.size() != 5?