mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Fix examples of "named metadata" (some of which isn't named).
llvm-svn: 215522
This commit is contained in:
parent
308e776b50
commit
8dfcdf9eb2
@ -169,8 +169,8 @@ symbol table entries. Here is an example of the "hello world" module:
|
||||
}
|
||||
|
||||
; Named metadata
|
||||
!1 = metadata !{i32 42}
|
||||
!foo = !{!1, null}
|
||||
!0 = metadata !{i32 42, null, metadata !"string"}
|
||||
!foo = !{!0}
|
||||
|
||||
This example is made up of a :ref:`global variable <globalvars>` named
|
||||
"``.str``", an external declaration of the "``puts``" function, a
|
||||
|
Loading…
Reference in New Issue
Block a user