[LLVMdev] My LLVM program crashes gdb
viridia at gmail.com
Sat Feb 13 09:42:31 PST 2010
One of my unit tests has been failing recently, and the odd thing is that
when I attempt to debug it in gdb, it causes a segfault:
$ gdb test/stdlib/HashMapTest
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from
(gdb) break main
I'm not sure whether this is LLVM's fault or mine - and I'm not sure how to
go about finding out. I'm guessing something is wrong with the DWARF
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev