1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/LTO/X86/unnamed.ll
Peter Collingbourne 2442815aeb LTO: Don't bother trying to mangle unnamed globals, as they can't be preserved with MustPreserveSymbols.
Summary: Should fix sanitizer-windows bot.

Reviewers: joker.eph

Subscribers: llvm-commits, joker.eph

Differential Revision: http://reviews.llvm.org/D19635

llvm-svn: 267820
2016-04-27 23:48:11 +00:00

11 lines
247 B
LLVM

; RUN: llvm-as -o %t.bc %s
; RUN: llvm-lto -save-merged-module -o %t2 %t.bc
; RUN: llvm-dis -o - %t2.merged.bc | FileCheck %s
; CHECK-NOT: global i32
target triple = "x86_64-unknown-linux-gnu"
@0 = private global i32 42
@foo = constant i32* @0