[all-commits] [llvm/llvm-project] c53cbc: [CodeGen] Define ABI breaking class members correctly

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Thu Mar 24 02:55:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c53cbce45e04e8efd88a57549134884a4735a380
      https://github.com/llvm/llvm-project/commit/c53cbce45e04e8efd88a57549134884a4735a380
  Author: Daniil Kovalev <daniil at kovalev.website>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/GISelWorkList.h
    M llvm/include/llvm/CodeGen/MachineScheduler.h
    M llvm/include/llvm/CodeGen/PBQP/ReductionRules.h
    M llvm/include/llvm/CodeGen/RegAllocPBQP.h
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp

  Log Message:
  -----------
  [CodeGen] Define ABI breaking class members correctly

Non-static class members declared under #ifndef NDEBUG should be declared
under #if LLVM_ENABLE_ABI_BREAKING_CHECKS to make headers library-friendly and
allow cross-linking, as discussed in D120714.

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




More information about the All-commits mailing list