Parsing dwarf debug info of an GAS assembly file

I have a question not strictly related to LLVM:
I know there is a tool (libdwarf / dwarfdump) to dump/parse debug information of an object file,
but do you know a tool that can parse dwarf sections of a “.s” GAS assembly file ?

Thank you,


I do not know any tool other than the assembler itself. What are you trying to do ?

I am working with a different assembly format (in house assembly…).
I added a target to LLVM but find it easier to keep a GAS assembly output from LLVM and then convert it to the in-house assembly format (with a standalone tool)
Without debugging information, this conversion is pretty straightforward but now comes the time to convert some debugging informations.