Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Merge 029f1a53448979365ab965572356b83edc82f755 into 13.0.1 #51529

Open Quuxplusone opened 2 years ago

Quuxplusone commented 2 years ago
Bugzilla Link PR52562
Status NEW
Importance P release blocker
Reported by Brad Smith (brad@comstyle.com)
Reported on 2021-11-19 12:56:12 -0800
Last modified on 2021-11-23 14:24:30 -0800
Version 13.0
Hardware All All
CC dimitry@andric.com, llvm-bugs@lists.llvm.org, tstellar@redhat.com
Fixed by commit(s) rG029f1a53448979365ab965572356b83edc82f755
Attachments
Blocks PR52147
Blocked by
See also
Please merge https://github.com/llvm/llvm-
project/commit/029f1a53448979365ab965572356b83edc82f755.

[PATCH] [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.

Fixes PR50881.
Quuxplusone commented 2 years ago

Note that 029f1a534489 won't apply cleanly onto 13.x since some of the affected code got moved from LazyCallGraph.h to LazyCallGraph.cpp. To fix bug 50811 for FreeBSD, I merged the following version instead:

https://github.com/DimitryAndric/freebsd-src/commit/cbc4bc8327b383cb355d485a44ef52f5e87998a2

But this doesn't include the tests; I hope those merge cleanly...