[all-commits] [llvm/llvm-project] 9964b0: [clang] Add -fdump-record-layouts-canonical option

David Tenty via All-commits all-commits at lists.llvm.org
Mon Jul 5 14:39:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9964b0ef828b685dc575a50f75bb1780b84b95c8
      https://github.com/llvm/llvm-project/commit/9964b0ef828b685dc575a50f75bb1780b84b95c8
  Author: David Tenty <daltenty at ibm.com>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/RecordLayoutBuilder.cpp
    A clang/test/Layout/dump-canonical.cpp

  Log Message:
  -----------
  [clang] Add -fdump-record-layouts-canonical option

This option implies -fdump-record-layouts but dumps record layout information with canonical field types, which can be more useful in certain cases when comparing structure layouts.

Reviewed By: stevewan

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




More information about the All-commits mailing list