From ebe69fe11e48d322045d5949c83283927a0d790b Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Mon, 23 Mar 2015 12:10:34 -0700 Subject: Update aosp/master LLVM for rebase to r230699. Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9 --- test/CodeGen/X86/non-unique-sections.ll | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/CodeGen/X86/non-unique-sections.ll (limited to 'test/CodeGen/X86/non-unique-sections.ll') diff --git a/test/CodeGen/X86/non-unique-sections.ll b/test/CodeGen/X86/non-unique-sections.ll new file mode 100644 index 0000000..e588b9d --- /dev/null +++ b/test/CodeGen/X86/non-unique-sections.ll @@ -0,0 +1,15 @@ +; RUN: llc < %s -mtriple=x86_64-pc-linux -function-sections -unique-section-names=false | FileCheck %s + +; CHECK: .section .text,"ax",@progbits,unique +; CHECK-NOT: section +; CHECK: f: +define void @f() { + ret void +} + +; CHECK: .section .text,"ax",@progbits,unique +; CHECK-NOT: section +; CHECK: g: +define void @g() { + ret void +} -- cgit v1.1