[all-commits] [llvm/llvm-project] 92211b: [LLDB] Fix address computation for inline function

Johannes Altmanninger via All-commits all-commits at lists.llvm.org
Fri Dec 20 00:04:51 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 92211bf0f15ba46b5eeb88b7ea580ff539dcdd4e
      https://github.com/llvm/llvm-project/commit/92211bf0f15ba46b5eeb88b7ea580ff539dcdd4e
  Author: Johannes Altmanninger <aclopte at gmail.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    A lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test
    A lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll

  Log Message:
  -----------
  [LLDB] Fix address computation for inline function

Summary:
Fixes PR41237 - SIGSEGV on call expression evaluation when debugging clang

When linking multiple compilation units that define the same functions,
the functions is merged but their debug info is not. This ignores debug
info entries for functions in a non-executable sections; those are
functions that were definitely dropped by the linker.

Reviewers: spyffe, clayborg, jasonmolenda

Reviewed By: clayborg

Subscribers: labath, aprantl, lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list