Displaying 10 results from an estimated 10 matches for "install_debug".
2007 Jul 09
2
[LLVMdev] AsmParser fails
...e/c++/4.1.2/debug/vector:192:error: attempt to subscript
container with out-of-bounds index 0, but container only holds 0
elements.
Objects involved in the operation:
sequence "this" @ 0x0xbfd32234 {
type = N15__gnu_debug_def6vectorIPN4llvm5ValueESaIS3_EEE;
}
/home/scheler/llvm/install_debug/bin/llvm-as((anonymous
namespace)::PrintStackTrace()+0x1a)[0x83dbbba]
/home/scheler/llvm/install_debug/bin/llvm-as((anonymous
namespace)::SignalHandler(int)+0x112)[0x83dbe80]
[0xb7fda420]
/lib/libc.so.6(abort+0x101)[0xb7d5b801]
/usr/lib/libstdc++.so.6(__gnu_debug::_Error_formatter::_M_error()
const...
2012 Apr 13
4
[LLVMdev] gdb + clang/llvm
Hi all,
I currently have a problem setting up gdb with clang/llvm.
I configured llvm/clang (trunk) with:
../llvm/configure --prefix=PROJECT_DIR/install_debug --enable-expensive-checks --enable-targets=host --enable-debug-runtime --enable-shared
Now, when I invoke gdb with the freshly built clang it basically works. I can look at backtraces, set breakpoints and so on but breakpoints are never triggered.
For instance:
I put the line
llvm::errs() <<...
2012 Apr 13
0
[LLVMdev] gdb + clang/llvm
...uc.edu/pipermail/cfe-dev/2012-March/020275.html ) for
a similar question.
-Matt
On 04/13/2012 04:19 PM, Roland Leißa wrote:
> Hi all,
>
> I currently have a problem setting up gdb with clang/llvm.
>
> I configured llvm/clang (trunk) with:
> ../llvm/configure --prefix=PROJECT_DIR/install_debug --enable-expensive-checks --enable-targets=host --enable-debug-runtime --enable-shared
>
> Now, when I invoke gdb with the freshly built clang it basically works. I can look at backtraces, set breakpoints and so on but breakpoints are never triggered.
> For instance:
>
> I put the li...
2012 Apr 13
0
[LLVMdev] gdb + clang/llvm
On Apr 13, 2012, at 2:19 PM, Roland Leißa <leissa at cs.uni-saarland.de> wrote:
> Hi all,
>
> I currently have a problem setting up gdb with clang/llvm.
>
> I configured llvm/clang (trunk) with:
> ../llvm/configure --prefix=PROJECT_DIR/install_debug --enable-expensive-checks --enable-targets=host --enable-debug-runtime --enable-shared
>
> Now, when I invoke gdb with the freshly built clang it basically works. I can look at backtraces, set breakpoints and so on but breakpoints are never triggered.
> For instance:
>
> I put the...
2012 Apr 13
2
[LLVMdev] gdb + clang/llvm
...Apr 13, 2012, at 2:19 PM, Roland Leißa <leissa at cs.uni-saarland.de>
> wrote:
>
> > Hi all,
> >
> > I currently have a problem setting up gdb with clang/llvm.
> >
> > I configured llvm/clang (trunk) with:
> > ../llvm/configure --prefix=PROJECT_DIR/install_debug
> > --enable-expensive-checks --enable-targets=host
> > --enable-debug-runtime --enable-shared
> >
> > Now, when I invoke gdb with the freshly built clang it basically
> > works. I can look at backtraces, set breakpoints and so on but
> > breakpoints are never t...
2012 Apr 23
4
[LLVMdev] gdb + clang/llvm
...t; > What do I have to do in order to trigger breakpoints, see
> > backtraces and so on?
>
> You set a breakpoint and ask to see a backtrace?
>
> -eric
haha, OK, I think I should be more specific.
So, I configured the project with:
../llvm/configure --prefix=PROJECT_DIR/install_debug --enable-expensive-checks --enable-targets=host --enable-debug-runtime --enable-shared CXX=g++ CC=gcc
note that I'm using gcc
then I run
make
make install
next I fire up gdb
setting a breakpoint somewhere in clang/lib/Sema only works if executing clang with -cc1
Now the code genera...
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
...igger breakpoints, see
>>> backtraces and so on?
>>
>> You set a breakpoint and ask to see a backtrace?
>>
>> -eric
>
> haha, OK, I think I should be more specific.
>
> So, I configured the project with:
> ../llvm/configure --prefix=PROJECT_DIR/install_debug --enable-expensive-checks --enable-targets=host --enable-debug-runtime --enable-shared CXX=g++ CC=gcc
>
> note that I'm using gcc
>
> then I run
> make
> make install
>
> next I fire up gdb
> setting a breakpoint somewhere in clang/lib/Sema only works if ex...
2012 Apr 23
1
[LLVMdev] gdb + clang/llvm
...s and so on?
> >>
> >> You set a breakpoint and ask to see a backtrace?
> >>
> >> -eric
> >
> > haha, OK, I think I should be more specific.
> >
> > So, I configured the project with:
> > ../llvm/configure --prefix=PROJECT_DIR/install_debug
> > --enable-expensive-checks --enable-targets=host
> > --enable-debug-runtime --enable-shared CXX=g++ CC=gcc
> >
> > note that I'm using gcc
> >
> > then I run
> > make
> > make install
> >
> > next I fire up gdb
>...
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
On Apr 20, 2012, at 6:35 PM, Roland Leißa <leissa at cs.uni-saarland.de> wrote:
> ok, I now have a problem in the code generator.
> Let's say I want to set a breakpoint somewhere in
> clang/lib/CodeGen/CGExprScalar.cpp
>
> What do I have to do in order to trigger breakpoints, see backtraces and so on?
You set a breakpoint and ask to see a backtrace?
-eric
2012 Apr 21
2
[LLVMdev] gdb + clang/llvm
ok, I now have a problem in the code generator.
Let's say I want to set a breakpoint somewhere in
clang/lib/CodeGen/CGExprScalar.cpp
What do I have to do in order to trigger breakpoints, see backtraces and so on?
--
Roland
----- Original Message -----
> From: "Eric Christopher" <echristo at apple.com>
> To: "Roland Leißa" <leissa at cs.uni-saarland.de>