1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Bitcode/weak-macho-3.5.ll
David Majnemer 4556f4a8ee Bitcode: Don't create comdats when autoupgrading macho bitcode
Don't infer COMDAT groups from older bitcode if the target is macho,
it doesn't have COMDATs.

llvm-svn: 226546
2015-01-20 05:58:07 +00:00

12 lines
398 B
LLVM

; RUN: llvm-dis < %s.bc| FileCheck %s
; weak-macho-3.5.ll.bc was generated by passing this file to llvm-as-3.5
; The test checks that LLVM does not place weak GlobalVariables into Comdats for
; macho object files, they don't support it.
target triple = "x86_64-apple-macosx10.9.0"
; CHECK: target triple = "x86_64-apple-macosx10.9.0"
@x = weak global i32 0
; CHECK: @x = weak global i32 0{{$}}