mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Constants and Metadata share ValueList. This means they must be emitted interleaved (using appropriate BLOCK_IDs) otherwise ValuePtrs index gets out of sync.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
5
test/Bitcode/metadata.ll
Normal file
5
test/Bitcode/metadata.ll
Normal file
@ -0,0 +1,5 @@
|
||||
; RUN: llvm-as < %s | llvm-dis -f -o /dev/null
|
||||
|
||||
!llvm.foo = !{!0}
|
||||
!0 = metadata !{i32 42}
|
||||
@my.str = internal constant [4 x i8] c"foo\00"
|
Reference in New Issue
Block a user