[PATCH] Add parser for the stackmap section format

Lang Hames lhames at gmail.com
Sun Jun 14 12:45:08 PDT 2015


Hi all,

I couldn't figure out how to neatly attach an alternative patch to this review, so I've posted mine at http://reviews.llvm.org/D10434.

That review is only a sketch of the idea. Still on the to-do list are the location data structure, version check, and richer debug-dumps (i.e with named registers, fields).

I'm curious about how the data from the stackmap section is used by clients. If all clients are interested in all stackmap contents then it seems reasonable to provide an abstract StackMap data structure (like the one proposed here) and use my parser to parse it. If different clients use different portions of the stackmap sections, and are likely to want to parse the stackmap section into custom data structures, then maybe we're best of just providing stackmap parsers in-tree.


http://reviews.llvm.org/D10377

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list