[LLVMdev] Iterating over all uses of a Function

Mikhail Glushenkov
Tue, 21 Apr 2009 19:28:15 -0000

Hi Anthony,

> Can you please attach a simple .bc file that is subject to this
> problem?

See http://llvm.org/bugs/show_bug.cgi?id=4028

This is generated from the following C code:

void interesting_function();

int main() {
  interesting_function();
}

I use the SVN version of LLVM, built with current MinGW (3.4.5).