[PATCH] D149058: [BPF][DebugInfo] Use .BPF.ext for line info when DWARF is not available

Eduard Zingerman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 09:48:41 PDT 2023


eddyz87 updated this revision to Diff 539169.
eddyz87 marked 29 inline comments as done.
eddyz87 edited the summary of this revision.
eddyz87 added a comment.

- changes according to comments from @MaskRay;
- added new error condition: non-existing section name specified in the .BTF.ext line info table;
- unit tests: changed `parseError` function `EXPECT_PARSE_ERROR` macro to preserve line info when error is reported.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149058/new/

https://reviews.llvm.org/D149058

Files:
  llvm/include/llvm/DebugInfo/BTF/BTF.h
  llvm/include/llvm/DebugInfo/BTF/BTFContext.h
  llvm/include/llvm/DebugInfo/BTF/BTFParser.h
  llvm/include/llvm/DebugInfo/DIContext.h
  llvm/lib/DebugInfo/BTF/BTFContext.cpp
  llvm/lib/DebugInfo/BTF/BTFParser.cpp
  llvm/lib/DebugInfo/BTF/CMakeLists.txt
  llvm/lib/DebugInfo/CMakeLists.txt
  llvm/lib/DebugInfo/Symbolize/CMakeLists.txt
  llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
  llvm/test/tools/llvm-objdump/BPF/Inputs/test.c
  llvm/test/tools/llvm-objdump/BPF/interleaved-source-test.ll
  llvm/tools/llvm-objdump/SourcePrinter.cpp
  llvm/tools/llvm-objdump/SourcePrinter.h
  llvm/unittests/DebugInfo/BTF/BTFParserTest.cpp
  llvm/unittests/DebugInfo/BTF/CMakeLists.txt
  llvm/unittests/DebugInfo/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149058.539169.patch
Type: text/x-patch
Size: 42847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/89d67bb9/attachment.bin>


More information about the llvm-commits mailing list