[PATCH] D76293: [WIP][DebugInfo] refactor DIE classes. Remove dependency on AsmPrinter.
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 17 11:16:54 PDT 2020
clayborg added a comment.
I too ran into the AsmPrinter being a bit overkill for writing simple data. GSYM has a simple file writer class that just uses llvm::raw_pwrite_stream:
llvm/include/llvm/DebugInfo/GSYM/FileWriter.h
llvm/lib/DebugInfo/GSYM/FileWriter.cpp
Not sure if this would be worth improving and moving to a more generic location so that everyone can use it? It is a very simple class right now, no labels or sections, but these features could be added if needed. GSYM files are currently stand alone files, but in the future we will want GSYM to be a section within a file.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76293/new/
https://reviews.llvm.org/D76293
More information about the llvm-commits
mailing list