[cfe-commits] [PATCH] PR14471: Debug info for static data members (Clang part)

David Blaikie dblaikie at gmail.com
Mon Jan 14 16:27:51 PST 2013


On Mon, Jan 14, 2013 at 4:21 PM, Robinson, Paul
<Paul.Robinson at am.sony.com> wrote:
>
>
> ________________________________________
> From: David Blaikie [dblaikie at gmail.com]
> Sent: Monday, January 14, 2013 2:34 PM
> To: Robinson, Paul
> Cc: Eric Christopher; cfe-commits at cs.uiuc.edu
> Subject: Re: [cfe-commits] [PATCH] PR14471: Debug info for static data members (Clang part)
>
> On Mon, Jan 14, 2013 at 2:34 PM, David Blaikie <dblaikie at gmail.com> wrote:
>> On Mon, Jan 14, 2013 at 2:19 PM, Robinson, Paul
>> <Paul.Robinson at am.sony.com> wrote:
>> > Ran GDB test suite 7.2 (what I have) with trunk and with my patch.
>> > (Someday I'll pick up the one you guys are using....)
>>
>> You should just be able to check it out from
>> llvm.org/svn/llvm-project/clang-tests-external/trunk
>>
>> then configure and:
>>
>> make check RUNTESTFLAGS="CXX_FOR_TARGET='path/to/clang++'
>> CC_FOR_TARGET='path/to/clang' CFLAGS_FOR_TARGET='-w
>> -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
>> -fno-limit-debug-info'" FORCE_PARALLEL=1
>>
>> to reproduce the same process as the buildbot here:
>> http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75
>
> Thanks!  I've also been meaning to ask if there's a way to use
> a non-default debugger with the debuginfo-tests; some scripts make
> it look like a DEBUGGER variable will do that, but I haven't gotten
> it to work.  I have to put my debugger's directory at the front of
> PATH to get debuginfo-tests to use it.

Possibly - I think if I run "configure" in .../build then cd into
.../build/gdb/testsuite and run "make check" it uses my system gdb,
maybe. (or perhaps it was if I configured just the gdb/testsuite, eg:
.../build$ ../src/gdb/testsuite/configure) I did have some trouble
with unexplained failures in the GDB 7.5 test suite even running
against Ubuntu's distribution of GDB 7.5, so I changed my process (&
the bot) to use the exact GDB as built from the 7.5 sources that went
with the test suite.



More information about the cfe-commits mailing list