[all-commits] [llvm/llvm-project] da7099: Revert "[lldb][Format] Make function name frame-fo...

Michael Buch via All-commits all-commits at lists.llvm.org
Mon Apr 28 23:13:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da7099290cea7d11b83da01adda8afeb3bcd5362
      https://github.com/llvm/llvm-project/commit/da7099290cea7d11b83da01adda8afeb3bcd5362
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-04-29 (Tue, 29 Apr 2025)

  Changed paths:
    M lldb/source/Core/FormatEntity.cpp
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    M lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test
    M lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test
    M lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test
    M lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test
    M lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test
    M lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test

  Log Message:
  -----------
  Revert "[lldb][Format] Make function name frame-format variables work without debug-info" (#137757)

Reverts llvm/llvm-project#137408

This change broke `lldb/test/Shell/Unwind/split-machine-functions.test`.

The test binary has a symbol named `_Z3foov.cold` and the test expects
the backtrace to print the name of the cold part of the function like
this:

```
# SPLIT: frame #1: {{.*}}`foo() (.cold) +
```
but now it gets

```
frame #1: 0x000055555555514f split-machine-functions.test.tmp`foo() + 12
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list