- Reworks the CVSymbolTypes.def to work similarly to TypeRecords.def.
- Moves some enums from SymbolRecords.h to CodeView.h to maintain consistency with how we do type records.
- Generalize a few simple things like the record prefix
- Define the leaf enum and the kind enum similar to how we do with tyep records.
Details
Details
- Reviewers
amccarth rnk - Commits
- rG63a2846e8479: [codeview] Some cleanup of Symbol Records.
Diff Detail
Diff Detail
Event Timeline
include/llvm/DebugInfo/CodeView/SymbolRecord.h | ||
---|---|---|
34 | Symbols aren't leafs, though, only type records are referred to as "leafs" in the reference headers. I'd hold off on the "enum class" for SymbolRecordKind for now I guess. Besides, then we won't have two full enumerations. |
include/llvm/DebugInfo/CodeView/SymbolRecord.h | ||
---|---|---|
34 | Nevermind I see why you need two. SymbolKind and SymbolRecordKind sounds good. |
Symbols aren't leafs, though, only type records are referred to as "leafs" in the reference headers. I'd hold off on the "enum class" for SymbolRecordKind for now I guess. Besides, then we won't have two full enumerations.