mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
75338097c7
llvm-ld is no longer useful and causes confusion and so it is being removed. * Does not work very well on Windows because it must call a gcc like driver to assemble and link. * Has lots of hard coded paths which are wrong on many systems. * Does not understand most of ld's options. * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} | ld, or fully replaced by Clang. I know of no production use of llvm-ld, and hacking use should be replaced by Clang's driver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155147 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
415 B
LLVM
11 lines
415 B
LLVM
; RUN: llvm-as < %s > %t.bc
|
|
; RUN: llvm-as < %p/2008-03-07-DroppedSection_a.ll > %t2.bc
|
|
; RUN: llvm-link %t.bc %t2.bc -o %t3.bc
|
|
; RUN: llvm-dis < %t3.bc | grep ".data.init_task"
|
|
|
|
; ModuleID = 'u.bc'
|
|
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
|
|
target triple = "i686-pc-linux-gnu"
|
|
@init_task_union = external global i32
|
|
|