[all-commits] [llvm/llvm-project] 86caa0: Revert "Round up zero-sized symbols to 1 byte in `...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Tue May 31 02:04:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86caa0371859d450ed60c4b186d8ccbcc72fef5e
      https://github.com/llvm/llvm-project/commit/86caa0371859d450ed60c4b186d8ccbcc72fef5e
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2022-05-31 (Tue, 31 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    R llvm/test/CodeGen/X86/dwarf-aranges-zero-size.ll
    M llvm/test/DebugInfo/MSP430/dwarf-basics-v5.ll
    M llvm/test/DebugInfo/X86/dwarf-aranges.ll

  Log Message:
  -----------
  Revert "Round up zero-sized symbols to 1 byte in `.debug_aranges`."

This reverts commit 256a52d9aac8a9e98fbfd6a3d91090bf127cef7d (and
also the follow-up commit 38eb4fe74b3843ab0d7fc1e that moved a test
case to a different directory).

As discussed in https://reviews.llvm.org/D126257 there is a suspicion
that something was wrong with this commit as text section range was
shortened to 1 byte rather than rounded up as shown in the
llvm/test/DebugInfo/X86/dwarf-aranges.ll test case.




More information about the All-commits mailing list