[Lldb-commits] [lldb] [lldb][DWARF64] Enable support for DWARF64 format handling (PR #145645)

Hemang Gadhavi via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 25 05:54:44 PDT 2025


HemangGadhavi wrote:


> Also wondering about testing this. What tools can produce DWARF64?
> 
@DavidSpickett answer to your question, we can produce `DWARF64` by enabling -`gdwarf64` clang compilation flag. But that could be different for different compiler 

> Run `check-lldb` with DWARF64 enabled everywhere you can. So that means adding it to CMAKE_C/CXX_FLAGS for the build, to `lldb/test/Shell/helper/build.py` for shell tests and somewhere to make the API tests use it. Istr there is a makefile for that.

Thanks for the suggestion, I will start with the unittest by enabling the `DWARF64` and also try to create some testcases related to `DWARF64` as you mentioned which has greater offset compared to the `DWARF32`

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


More information about the lldb-commits mailing list