llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.47k stars 11.77k forks source link

Using -dsa-no-filter-callcc=false causes BU to crash #8301

Closed llvmbot closed 1 year ago

llvmbot commented 14 years ago
Bugzilla Link 7929
Version trunk
OS All
Attachments Test case
Reporter LLVM Bugzilla Contributor

Extended Description

Using the -dsa-no-filter-callcc=false option while running the -calltarget pass causes DSA to segfault. The problem appears to be that filtering out invalid function call targets causes the calculateGraphs() function to recurse indefinitely.

The problem can be reproduced on the attached .ll file by assembling it and doing the following:

opt -load $HOME/box/x86/llvm27/projects/poolalloc/Debug/lib/libLLVMDataStructure.so -calltarget -analyze test2.bc -dsa-no-filter-callcc=false

arsenm commented 1 year ago

The mentioned flag no longer exists