[all-commits] [llvm/llvm-project] abf02d: [llvm-extract] Fix basic block extraction by delay...

Dominic Chen via All-commits all-commits at lists.llvm.org
Thu May 21 18:19:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: abf02d978854a06f60ab8fcfb9b5528d25db6a94
      https://github.com/llvm/llvm-project/commit/abf02d978854a06f60ab8fcfb9b5528d25db6a94
  Author: Dominic Chen <d.c.ddcc at gmail.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M llvm/tools/llvm-extract/llvm-extract.cpp

  Log Message:
  -----------
  [llvm-extract] Fix basic block extraction by delaying search until the function is materialized

Summary: When I try to extract a basic block using llvm-extract, it erroneously reports that the named basic block doesn't exist. After digging into the code, it appears to be iterating over an unmaterialized function, which will fail to match any basic blocks.

Reviewers: volkan, qcolombet

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list