[llvm] r223579 - R600/SI: Restore PrivateGlobalPrefix to the default ELF value of ".L"

Tom Stellard thomas.stellard at amd.com
Fri Dec 5 21:34:35 PST 2014


Author: tstellar
Date: Fri Dec  5 23:34:34 2014
New Revision: 223579

URL: http://llvm.org/viewvc/llvm-project?rev=223579&view=rev
Log:
R600/SI: Restore PrivateGlobalPrefix to the default ELF value of ".L"

This was changed in r223323.

Modified:
    llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
    llvm/trunk/test/CodeGen/R600/elf.ll

Modified: llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp?rev=223579&r1=223578&r2=223579&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp Fri Dec  5 23:34:34 2014
@@ -17,7 +17,6 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringR
   MaxInstLength = 16;
   SeparatorString = "\n";
   CommentString = ";";
-  PrivateGlobalPrefix = "";
   PrivateLabelPrefix = "";
   InlineAsmStart = ";#ASMSTART";
   InlineAsmEnd = ";#ASMEND";

Modified: llvm/trunk/test/CodeGen/R600/elf.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/elf.ll?rev=223579&r1=223578&r2=223579&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/elf.ll (original)
+++ llvm/trunk/test/CodeGen/R600/elf.ll Fri Dec  5 23:34:34 2014
@@ -1,10 +1,14 @@
-; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs -filetype=obj | llvm-readobj -s - | FileCheck --check-prefix=ELF-CHECK %s
+; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs -filetype=obj | llvm-readobj -s -symbols - | FileCheck --check-prefix=ELF-CHECK %s
 ; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs -o - | FileCheck --check-prefix=CONFIG-CHECK %s
 
 ; ELF-CHECK: Format: ELF32
 ; ELF-CHECK: Name: .AMDGPU.config
 ; ELF-CHECK: Type: SHT_PROGBITS
 
+; ELF-CHECK: Symbol {
+; ELF-CHECK: Name: test
+; ELF-CHECK: Binding: Global
+
 ; CONFIG-CHECK: .align 256
 ; CONFIG-CHECK: test:
 ; CONFIG-CHECK: .section .AMDGPU.config





More information about the llvm-commits mailing list