Mercurial > hg > CbC > CbC_llvm
view test/Assembler/named-metadata.ll @ 33:e4204d083e25 LLVM3.5
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | 54457678186b |
line wrap: on
line source
; RUN: llvm-as < %s | llvm-dis | FileCheck %s !0 = metadata !{metadata !"zero"} !1 = metadata !{metadata !"one"} !2 = metadata !{metadata !"two"} !foo = !{!0, !1, !2} ; CHECK: !foo = !{!0, !1, !2} !\23pragma = !{!0, !1, !2} ; CHECK: !\23pragma = !{!0, !1, !2} ; \31 is the digit '1'. On emission, we escape the first character (to avoid ; conflicting with anonymous metadata), but not the subsequent ones. !\31\31\31 = !{!0, !1, !2} ; CHECK: !\3111 = !{!0, !1, !2} !\22name\22 = !{!0, !1, !2} ; CHECK: !\22name\22 = !{!0, !1, !2} ; \x doesn't mean anything, so we parse it literally but escape the \ into \5C ; when emitting it, followed by xfoo. !\xfoo = !{!0, !1, !2} ; CHECK: !\5Cxfoo = !{!0, !1, !2}