[all-commits] [llvm/llvm-project] 125df6: [BOLT][DWARF] Fix handling of CUs without TU refer...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Mon Apr 17 17:56:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 125df67421cfaef9980f98b4e41613964df81129
      https://github.com/llvm/llvm-project/commit/125df67421cfaef9980f98b4e41613964df81129
  Author: Alexander Yermolovich <ayermolo at meta.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    A bolt/test/X86/Inputs/dwarf5-ftypes-split-dwarf-helper.s
    M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test

  Log Message:
  -----------
  [BOLT][DWARF] Fix handling of CUs without TU reference

When input is DWP with DWARF5 bolt wasn't handling correctly CUs that didn't
have TU references. Which resulted in a crash.

Reviewed By: maksfb

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




More information about the All-commits mailing list