[PATCH] D129846: [CodeView] Add function to get size in bytes for a TypeIndex.

Carlos Alberto Enciso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 04:43:40 PDT 2022


CarlosAlbertoEnciso created this revision.
CarlosAlbertoEnciso added reviewers: psamolysov, djtodoro.
CarlosAlbertoEnciso added a project: debug-info.
Herald added subscribers: arphaman, hiraditya.
Herald added a project: All.
CarlosAlbertoEnciso requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Given a TypeIndex return its size in bytes. Basically is the
inverse to 'CodeViewDebug::lowerTypeBasic', that returns a
TypeIndex based in a size.

This work is required for https://reviews.llvm.org/D125784


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129846

Files:
  llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
  llvm/lib/DebugInfo/CodeView/TypeRecordHelpers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129846.444941.patch
Type: text/x-patch
Size: 4903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220715/8e9c8ad9/attachment.bin>


More information about the llvm-commits mailing list