Displaying 2 results from an estimated 2 matches for "defaultdebugloc".
2009 Jun 08
0
[LLVMdev] debug information for functions
On Mon, Jun 8, 2009 at 3:25 AM, <Vasudev.Negi at microchip.com> wrote:
>
> I get .bc files for foo.c and foo.bc through clang. Now I run llvm-ld
> with -disable-opt for foo.bc and goo.bc. In the resulting .bc files, one
> of the two functions fun, is renamed to fun<number>. There are two
> llvm.dbg.subprogram descriptors created for the two fun functions. Both
> have
2009 Jun 08
3
[LLVMdev] debug information for functions
Suppose I have fun.h as:
static void fun() {
int a =10;
}
Now I have two files foo.c and goo.c as
foo.c :
#include "fun.h"
void foo()
{
fun();
}
goo.c:
#include "fun.h"
void goo()
{
fun();
}
I get .bc files for foo.c and foo.bc through clang. Now I run llvm-ld
with -disable-opt for foo.bc and goo.bc. In the resulting .bc files, one
of the