[llvm-commits] [llvm] r108938 - in /llvm/trunk/test/MC/AsmParser/ELF: ./ dg.exp directive_section_bss.s directive_section_data_rel.s directive_section_data_rel_ro.s directive_section_eh_frame.s directive_section_rodata.s directive_section_tbss.s directive_section_tdata.s
Chris Lattner
clattner at apple.com
Tue Jul 20 15:09:47 PDT 2010
On Jul 20, 2010, at 2:37 PM, Matt Fleming wrote:
> Author: mfleming
> Date: Tue Jul 20 16:37:30 2010
> New Revision: 108938
>
> URL: http://llvm.org/viewvc/llvm-project?rev=108938&view=rev
> Log:
> Include some tests for the recently committed ELF section directive
> handlers.
Hi Matt,
Please merge these into a single directive_section.s testcase. The beauty of filecheck is that it allows more granular checks for stuff like this.
-Chris
>
>
> Added:
> llvm/trunk/test/MC/AsmParser/ELF/
> llvm/trunk/test/MC/AsmParser/ELF/dg.exp
> llvm/trunk/test/MC/AsmParser/ELF/directive_section_bss.s
> llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel.s
> llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s
> llvm/trunk/test/MC/AsmParser/ELF/directive_section_eh_frame.s
> llvm/trunk/test/MC/AsmParser/ELF/directive_section_rodata.s
> llvm/trunk/test/MC/AsmParser/ELF/directive_section_tbss.s
> llvm/trunk/test/MC/AsmParser/ELF/directive_section_tdata.s
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/dg.exp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/dg.exp?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/dg.exp (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/dg.exp Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +load_lib llvm.exp
> +
> +if { [llvm_supports_target X86] } {
> + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]]
> +}
> +
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/directive_section_bss.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/directive_section_bss.s?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/directive_section_bss.s (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/directive_section_bss.s Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
> +
> + .bss
> +# CHECK: .bss
> + .bss
> +
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel.s?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel.s (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel.s Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
> +
> + .data.rel
> +# CHECK: .data.rel
> + .data.rel
> +
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
> +
> + .data.rel.ro
> +# CHECK: .data.rel.ro
> + .data.rel.ro
> +
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/directive_section_eh_frame.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/directive_section_eh_frame.s?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/directive_section_eh_frame.s (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/directive_section_eh_frame.s Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
> +
> + .eh_frame
> +# CHECK: .eh_frame
> + .eh_frame
> +
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/directive_section_rodata.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/directive_section_rodata.s?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/directive_section_rodata.s (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/directive_section_rodata.s Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
> +
> + .rodata
> +# CHECK: .rodata
> + .rodata
> +
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/directive_section_tbss.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/directive_section_tbss.s?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/directive_section_tbss.s (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/directive_section_tbss.s Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
> +
> + .tbss
> +# CHECK: .tbss
> + .tbss
> +
>
> Added: llvm/trunk/test/MC/AsmParser/ELF/directive_section_tdata.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/ELF/directive_section_tdata.s?rev=108938&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/AsmParser/ELF/directive_section_tdata.s (added)
> +++ llvm/trunk/test/MC/AsmParser/ELF/directive_section_tdata.s Tue Jul 20 16:37:30 2010
> @@ -0,0 +1,6 @@
> +# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
> +
> + .tdata
> +# CHECK: .tdata
> + .tdata
> +
>
>
> _______________________________________________
> 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