search for: tenline_clang

Displaying 1 result from an estimated 1 matches for "tenline_clang".

2011 Oct 08
1
[LLVMdev] Is clang -g (gdb) support broken for mingw builds?
...l debug information. I tested as follows: gdb --version reports: GNU gdb (GDB) 7.2 This GDB was configured as "mingw32". Compiling the tenline.c source file with MinGW/MSYS's gcc and with the just-built clang as follows: gcc -O0 -g -o tenline_gcc tenline.c clang -O0 -g -o tenline_clang tenline.c Both the tenline_gcc and tenline_clang executables run correctly and produce the expected 5 lines of output. However, attempting to set a breakpoint at line 7 (or any line for that matter) fails with the clang-built version, but succeeds with the gcc-built version. I tested the g...