mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
AsmParser: restore LLVM IR compatibility for linker_private{,_weak}
This restores the linker_private and linker_private_weak lexemes to permit translation of the deprecated lexmes. The behaviour is identical to the bitcode handling: linker_private and linker_private_weak are handled as if private had been specified. This enables compatibility with IR generated by LLVM 3.4. Reported on IRC by ki9a! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
; RUN: llvm-as -o - %s | llvm-dis | FileCheck %s
|
||||
|
||||
@.linker_private = linker_private unnamed_addr constant [15 x i8] c"linker_private\00", align 64
|
||||
@.linker_private_weak = linker_private_weak unnamed_addr constant [20 x i8] c"linker_private_weak\00", align 64
|
||||
|
||||
; CHECK: @.linker_private = private unnamed_addr constant [15 x i8] c"linker_private\00", align 64
|
||||
; CHECK: @.linker_private_weak = private unnamed_addr constant [20 x i8] c"linker_private_weak\00", align 64
|
||||
|
Reference in New Issue
Block a user