mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-01 19:29:22 +00:00
A null MCTargetStreamer allows IRObjectFile to ignore target-specific directives. Previously we were crashing. Differential Revision: http://reviews.llvm.org/D7711 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229797 91177308-0d34-0410-b5e6-96231b3b80d8
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"
|