From: Tim Northover Date: Wed, 16 Apr 2014 11:52:40 +0000 (+0000) Subject: ARM64: use the integrated assembler on ELF. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ea9988a81231d4097efe6799f7e2f4922dab2d7f;p=oota-llvm.git ARM64: use the integrated assembler on ELF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206378 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM64/MCTargetDesc/ARM64MCAsmInfo.cpp b/lib/Target/ARM64/MCTargetDesc/ARM64MCAsmInfo.cpp index 97e0d3c74b3..0575e6f7d4c 100644 --- a/lib/Target/ARM64/MCTargetDesc/ARM64MCAsmInfo.cpp +++ b/lib/Target/ARM64/MCTargetDesc/ARM64MCAsmInfo.cpp @@ -89,4 +89,6 @@ ARM64MCAsmInfoELF::ARM64MCAsmInfoELF() { // Exceptions handling ExceptionsType = ExceptionHandling::DwarfCFI; + + UseIntegratedAssembler = true; } diff --git a/test/CodeGen/AArch64/mature-mc-support.ll b/test/CodeGen/AArch64/mature-mc-support.ll index 06e3cc7d139..3359616fa8d 100644 --- a/test/CodeGen/AArch64/mature-mc-support.ll +++ b/test/CodeGen/AArch64/mature-mc-support.ll @@ -7,6 +7,12 @@ ; RUN: not llc -mtriple=aarch64-pc-linux -filetype=obj < %s > /dev/null 2> %t2 ; RUN: FileCheck %s < %t2 +; RUN: not llc -mtriple=arm64-pc-linux < %s > /dev/null 2> %t3 +; RUN: FileCheck %s < %t3 + +; RUN: not llc -mtriple=arm64-pc-linux -filetype=obj < %s > /dev/null 2> %t4 +; RUN: FileCheck %s < %t4 + module asm " .this_directive_is_very_unlikely_to_exist" ; CHECK: LLVM ERROR: Error parsing inline asm