[llvm] r243334 - [llvm-mc] Pushing plumbing through for --fatal-warnings flag.

Mehdi Amini mehdi.amini at apple.com
Mon Aug 3 12:43:18 PDT 2015


Hi,


> On Jul 27, 2015, at 2:56 PM, Colin LeMahieu <colinl at codeaurora.org> wrote:
> 
> Author: colinl
> Date: Mon Jul 27 16:56:53 2015
> New Revision: 243334
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=243334&view=rev
> Log:
> [llvm-mc] Pushing plumbing through for --fatal-warnings flag.
> 
> Added:
>    llvm/trunk/test/tools/llvm-mc/fatal_warnings.test
> Modified:
>    llvm/trunk/include/llvm/MC/MCTargetAsmParser.h
>    llvm/trunk/include/llvm/MC/MCTargetOptionsCommandFlags.h
>    llvm/trunk/lib/MC/MCParser/MCTargetAsmParser.cpp
>    llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
>    llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
>    llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
>    llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
>    llvm/trunk/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
>    llvm/trunk/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
>    llvm/trunk/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
>    llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
> 
> [snip]
> Added: llvm/trunk/test/tools/llvm-mc/fatal_warnings.test
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mc/fatal_warnings.test?rev=243334&view=auto
> ==============================================================================
> --- llvm/trunk/test/tools/llvm-mc/fatal_warnings.test (added)
> +++ llvm/trunk/test/tools/llvm-mc/fatal_warnings.test Mon Jul 27 16:56:53 2015
> @@ -0,0 +1,5 @@
> +# RUN: not llvm-mc --fatal-warnings %s 2>&1 | FileCheck %s
> +# XFAIL: hexagon


What is the purpose of this XFAIL?
My understanding is that XFAIL matches a triple or a feature, but not a target.

Thanks,

— 
Mehdi





More information about the llvm-commits mailing list