llvm-for-llvmta/test/Transforms/UniqueInternalLinkageNames/unique_symbol_names.ll

15 lines
410 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: opt -S -unique-internal-linkage-names < %s | FileCheck %s
; RUN: opt -S -passes=unique-internal-linkage-names < %s | FileCheck %s
source_filename = "foo.c"
@glob = internal global i32 0
define internal i32 @foo() {
entry:
ret i32 0
}
; CHECK: @glob.__uniq.142098474322525230676991677820000238157 = internal global
; CHECK: define internal i32 @foo.__uniq.142098474322525230676991677820000238157()