Hi all,<div><br></div><div>I have built a simple executable with Clang (build commands are below) and I am trying to debug the executable with GDB.  I am able to set break-points in GDB and step through the code but no information about variables is available.  Is this a known limitation of Clang and GDB or I am doing something wrong?</div>
<div><br></div><div><div>clang++ -O0 -emit-llvm -g3 -Wall -c -fmessage-length=0 -o src/main.bc ../src/main.cpp </div><div>llvm-ld -v -L/usr/lib/gcc/x86_64-linux-gnu/4.7/ -native -o TestPocoServerClang src/main.bc -lstdc++ -lPocoFoundation -lPocoNet -lPocoUtil </div>
<div>  Linking bitcode file 'src/main.bc'</div><div>  Linked in file 'src/main.bc'</div><div>  Linking archive file '/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.a'</div><div>  Linking archive file '/usr/local/lib/libPocoFoundation.a'</div>
<div>  Linking archive file '/usr/local/lib/libPocoNet.a'</div><div>  Linking archive file '/usr/local/lib/libPocoUtil.a'</div><div>Generating Bitcode To TestPocoServerClang.bc</div><div>Generating Assembly With: </div>
<div>'/usr/local/bin/llc' '-x86-asm-syntax=att' '-o' 'TestPocoServerClang.s' 'TestPocoServerClang.bc' </div><div>Generating Native Executable With:</div><div>'/usr/bin/gcc' '-fno-strict-aliasing' '-O3' '-o' 'TestPocoServerClang' 'TestPocoServerClang.s' '-L/usr/lib/gcc/x86_64-linux-gnu/4.7/' '-lstdc++' '-lPocoFoundation' '-lPocoNet' '-lPocoUtil' </div>
</div>