[all-commits] [llvm/llvm-project] 77c197: [BOLT] Support files with no symbols

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jul 26 00:08:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77c19773843dbdf9ab7f3415b001fa1475ef9fa4
      https://github.com/llvm/llvm-project/commit/77c19773843dbdf9ab7f3415b001fa1475ef9fa4
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Support files with no symbols

`LastSymbol` handling in `discoverFileObjects` assumes a non-zero number of
symbols in an object file. It's not the case for broken_dynsym.test added in
D130073, and potentially other stripped binaries.

Reviewed By: maksfb

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




More information about the All-commits mailing list