[all-commits] [llvm/llvm-project] b65f24: llvm-dwarfdump --verify: Don't diagnose functions ...

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Oct 28 17:14:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b65f24a74c64ae3b727c3d9e76594ddbbd403790
      https://github.com/llvm/llvm-project/commit/b65f24a74c64ae3b727c3d9e76594ddbbd403790
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h
    M llvm/test/DebugInfo/X86/template.ll
    A llvm/test/tools/llvm-dwarfdump/X86/verify_overlapping_function_ranges_distinct_sections.s

  Log Message:
  -----------
  llvm-dwarfdump --verify: Don't diagnose functions in different sections as overlapping

Functions in different sections (common in object files - inline
functions, -ffunction-sections, etc) can't overlap, so factor in the
section when diagnosing overlapping address ranges.

This removes a major false-positive when running llvm-dwarfdump on
unlinked code.




More information about the All-commits mailing list