Displaying 1 result from an estimated 1 matches for "metadatacontextimpl".
2010 Jan 04
0
[LLVMdev] support for attach embedded metadata to function/argument/basicblock proposal
...) [other parameter attributes])
for example:
define void @f() metadata(!foo !bar) { ... } ;attach bar to function f
define void @f(i8 metadata(!foo !bar) a) { ... } ;attach bar to argument a
so, i think i shoud:
1.change "typedef DenseMap<const Instruction *, MDMapTy> MDStoreTy; in MetadataContextImpl"
to
"typedef DenseMap<const Value *, MDMapTy> MDStoreTy;"
and the corresponding method in MetadataContextImpl and MetadataContext?
2.modify the code of asm reader/writer
3.modify bitcode reader/writer
any comment or advice is appreciate
best regards
--ether