HomeFreeBSD

Fix assertion when building devel/glog with new pass manager

Description

Fix assertion when building devel/glog with new pass manager

Merge commit 029f1a534489 from llvm git (by Arthur Eubanks):

[LazyCallGraph] Skip blockaddresses

blockaddresses do not participate in the call graph since the only
instructions that use them must all return to someplace within the
current function. And passes cannot retrieve a function address from a
blockaddress.

This was suggested by efriedma in D58260.

Fixes PR50881.

Reviewed By: nickdesaulniers

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

(cherry picked from commit a18c6161efc903f636c41b8e521e917a5b315ce8)

Details

Provenance
dimAuthored on Nov 2 2021, 10:17 AM
Parents
rG29623cceb1f2: Fix "Bad machine code" when building world for mips or mips64
Branches
Unknown
Tags
Unknown