mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
73136ce42d
A null MCTargetStreamer allows IRObjectFile to ignore target-specific directives. Previously we were crashing. Differential Revision: http://reviews.llvm.org/D7711 llvm-svn: 229797
10 lines
275 B
LLVM
10 lines
275 B
LLVM
; Check that we don't crash on target-specific inline asm directives.
|
|
;
|
|
; RUN: llvm-as < %s > %t
|
|
; RUN: llvm-lto -o /dev/null %t -mcpu armv4t
|
|
|
|
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
|
|
target triple = "armv4t-unknown-linux"
|
|
|
|
module asm ".fnstart"
|