[llvm-commits] [llvm] r162781 - in /llvm/trunk: test/Object/Mips/ test/Object/Mips/dext-test.elf-mips64r2 test/Object/Mips/feature.test tools/llvm-objdump/llvm-objdump.cpp

Michael Liao michael.liao at intel.com
Wed Aug 29 11:02:09 PDT 2012


On Wed, 2012-08-29 at 17:44 +0000, Carter, Jack wrote:
> What does the lit.local.cfg file do and when should one be creating or altering it?
> 
> I don't enjoy messing up builds and don't want to make this mistake again :-(
> 

That file is used to customize tests in that subdir. Such customization
may just skip it if we cannot proceed with some condition, e.g. if a
specific target is not turned on in LLVM backend, the tests designed for
it should be skipped.

You may look into <llvm>/utils/lit/lit/ExampleTests/ for more examples.

Yours
- Michael


> Jack
> ________________________________________
> From: Michael Liao [michael.liao at intel.com]
> Sent: Wednesday, August 29, 2012 9:02 AM
> To: Chandler Carruth
> Cc: Carter, Jack; llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] [llvm] r162781 - in /llvm/trunk: test/Object/Mips/ test/Object/Mips/dext-test.elf-mips64r2 test/Object/Mips/feature.test tools/llvm-objdump/llvm-objdump.cpp
> 
> On Tue, 2012-08-28 at 22:49 -0700, Chandler Carruth wrote:
> > I think chapuni got to this in r162819.
> >
> 
> Ah, that's great.
> 
> >
> > On Tue, Aug 28, 2012 at 10:41 PM, Michael Liao
> > <michael.liao at intel.com> wrote:
> >         On Tue, 2012-08-28 at 19:24 +0000, Jack Carter wrote:
> >         > Author: jacksprat
> >         > Date: Tue Aug 28 14:24:49 2012
> >         > New Revision: 162781
> >         >
> >         > URL: http://llvm.org/viewvc/llvm-project?rev=162781&view=rev
> >         > Log:
> >         > Some of the instructions in the Mips instruction set are
> >         revision
> >         > delimited. llvm-mc -disassemble access these through the
> >         -mattr
> >         > option.
> >         >
> >         > llvm-objdump -disassemble had no such way to set the
> >         attribute so
> >         > some instructions were just not recognized for disassembly.
> >         >
> >         > This patch accepts llvm-mc mechanism for specifying the
> >         attributes.
> >         >
> >
> >
> >         Would u apply add lit.local.cfg to skip these tests when Mips
> >         is not
> >         turned on? The attached patch works for me.
> >
> >         Yours
> >         - Michael
> >
> >         _______________________________________________
> >         llvm-commits mailing list
> >         llvm-commits at cs.uiuc.edu
> >         http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
> >
> >
> 
> 





More information about the llvm-commits mailing list