search for: dimyfancytype

Displaying 5 results from an estimated 5 matches for "dimyfancytype".

2018 May 29
2
Can creating new forms of debug info metadata be simplified? [formatting fixed]
...add serialization code for your special type5. Modify `AsmWriter.cpp` and add serialization code for your special type I believe we can accomplish everything needed for debug info with just step 1 using a pattern found in Boost Serialization. Imagine a new API based on this concept: ``` class DIMyFancyType : public MDNode { StringRef FileName; template<typename Visitor> void visit(Visitor & v) { DINode::visit(s); // or not, if you stay true to boost.serialization v.name("DIMyFancyType"); v.property("FileName",FileName); } }; ``` With this, we could...
2018 May 29
0
Can creating new forms of debug info metadata be simplified? [formatting fixed]
...cial type > 5. Modify `AsmWriter.cpp` and add serialization code for your special type > > I believe we can accomplish everything needed for debug info with just > step 1 using a pattern found in Boost Serialization. Imagine a new API > based on this concept: > > ``` > class DIMyFancyType : public MDNode { > StringRef FileName; > > template<typename Visitor> > void visit(Visitor & v) { > DINode::visit(s); // or not, if you stay true to boost.serialization > v.name("DIMyFancyType"); > v.property("FileName",FileNa...
2018 May 29
2
Can creating new forms of debug info metadata be simplified? [formatting fixed]
...our special type > 5. Modify `AsmWriter.cpp` and add serialization code for your special type > > I believe we can accomplish everything needed for debug info with just step 1 using a pattern found in Boost Serialization. Imagine a new API based on this concept: > > ``` > class DIMyFancyType : public MDNode { > StringRef FileName; > > template<typename Visitor> > void visit(Visitor & v) { > DINode::visit(s); // or not, if you stay true to boost.serialization > v.name <http://v.name/>("DIMyFancyType"); > v.property(&qu...
2018 May 29
0
Can creating new forms of debug info metadata be simplified?
...p and add serialization code for your special type 5. Modify AsmWriter.cpp and add serialization code for your special typeI believe we can accomplish everything needed for debug info with just step 1 using a pattern found in Boost Serialization. Imagine a new API based on this concept: class DIMyFancyType : public MDNode { StringRef FileName; template<typename Visitor> void visit(Visitor & v) { DINode::visit(s); // or not, if you stay true to boost.serialization v.name("DIMyFancyType"); v.property("FileName",FileName); } };With this, we could implement steps 2-5 using...
2018 May 29
0
Can creating new forms of debug info metadata be simplified? [formatting fixed]
...; 5. Modify `AsmWriter.cpp` and add serialization code for your special type >> >> I believe we can accomplish everything needed for debug info with just step 1 using a pattern found in Boost Serialization. Imagine a new API based on this concept: >> >> ``` >> class DIMyFancyType : public MDNode { >> StringRef FileName; >> >> template<typename Visitor> >> void visit(Visitor & v) { >> DINode::visit(s); // or not, if you stay true to boost.serialization >> v.name <http://v.name/>("DIMyFancyType");...