On Tue, Dec 25, 2012 at 8:10 AM, Sean Silva <silvas at purdue.edu> wrote:> > The main reason I don't draw them is that I haven't found convenient > tools to use which integrate well with my workflow. Doxygen produces > class diagrams, but I would really like to have something which > produces sequence diagramsdo you know that doxygen have a @msc and @mscfile commands? they are exactly for rendering message sequences... http://www.stack.nl/~dimitri/doxygen/commands.html#cmdmsc but you have to draw a diagram using language similar to graphviz dot. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121227/69220184/attachment.html>
On Wed, Dec 26, 2012 at 3:31 PM, Alex Turbov <i.zaufi at gmail.com> wrote:> do you know that doxygen have a @msc and @mscfile commands?Didn't know about that. However, I was thinking more along the lines of something that would extract such diagrams automatically. -- Sean Silva
Journeyer J. Joh
2013-Jan-13 02:52 UTC
[LLVMdev] [cfe-dev] Do you use UML utility programs?
Hello Sean Silva and List, I've got an incomplete idea about implementing a utility which extracts such diagrams automatically. And guess that there should exist one already. Let's say I want to draw a seq. diagram of an application. - To draw the diagram I compile the application with a modified version of clang/llvm. - This modified clang/llvm inserts some extended llvm intrinsic function calls into start and end of every functions. - Then I execute the application for the scenario needed to draw the seq. diagram for the application. - Executing the application generates a binary file. - A utility like any other llvm utility reads the binary output file and draw seq. diagram of the application for the tested scenario. - The utility which draws the seq. diagram is easily configurable. I think, to do this, a set of extended llvm intrinsic functions which print out logging message of each function calls/returns must be implemented. And this intrinsic functions can be added via llvm optimization pass. This is my brief and incomplete idea. And I think this could also be an item of patent if is not registered ever. But I believe not. This is so simple and easy. There should exist already implemented software which does this better. Maybe Rose or stuffs like this I doubt. I'd like - to know if there exist one or some similar to my idea. (Regardless of weather it is based on llvm) - to know if my idea is realistic and possible? I wish I could implement this myself. Sincerely Journeyer 2012/12/27 Sean Silva <silvas at purdue.edu>:> On Wed, Dec 26, 2012 at 3:31 PM, Alex Turbov <i.zaufi at gmail.com> wrote: >> do you know that doxygen have a @msc and @mscfile commands? > > Didn't know about that. However, I was thinking more along the lines > of something that would extract such diagrams automatically. > > -- Sean Silva-- ---------------------------------------- Journeyer J. Joh o o s a p r o g r a m m e r a t g m a i l d o t c o m ----------------------------------------
Possibly Parallel Threads
- [LLVMdev] [cfe-dev] Do you use UML utility programs?
- [LLVMdev] [cfe-dev] Do you use UML utility programs?
- [LLVMdev] [cfe-dev] Do you use UML utility programs?
- [LLVMdev] [cfe-dev] Do you use UML utility programs?
- [LLVMdev] [cfe-dev] Do you use UML utility programs?