[llvm] [llvm-debuginfo-analyzer] Add support for WebAssembly binary format. (PR #82588)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 22:33:44 PST 2024


================
@@ -415,6 +415,8 @@ void LVELFReader::processOneAttribute(const DWARFDie &Die, LVOffset *OffsetPtr,
       if (FoundLowPC) {
         if (CurrentLowPC == MaxAddress)
           CurrentElement->setIsDiscarded();
+        // Consider the case of WebAssembly.
----------------
CarlosAlbertoEnciso wrote:

That is a very good point.
I think `LVDWARFReader` would match the another reader `LVCodeViewReader` as they will reflect the type of debug information format that they are parsing.

@dwblaikie, @adrian-prantl, @pogo59: any thoughts on this proposal?

https://github.com/llvm/llvm-project/pull/82588


More information about the llvm-commits mailing list