Files
rk35xx-android14/external/llvm/test/Bitcode/weak-macho-3.5.ll
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08: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{{$}}