[all-commits] [llvm/llvm-project] a3f7a2: [CodeView] Add function to get size in bytes for T...

Carlos Alberto Enciso via All-commits all-commits at lists.llvm.org
Mon Aug 8 00:50:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3f7a2c183455f390f017effc99bcd1b37328521
      https://github.com/llvm/llvm-project/commit/a3f7a2c183455f390f017effc99bcd1b37328521
  Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
    M llvm/lib/DebugInfo/CodeView/TypeRecordHelpers.cpp

  Log Message:
  -----------
  [CodeView] Add function to get size in bytes for TypeIndex/CVType.

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

Reviewed By: rnk, djtodoro

Differential Revision: https://reviews.llvm.org/D129846




More information about the All-commits mailing list