[PATCH] D149367: Emit the CodeView `S_ARMSWITCHTABLE` debug symbol for jump tables

Daniel Paoliello via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 17:55:22 PDT 2023


dpaoliello updated this revision to Diff 518104.
dpaoliello marked 4 inline comments as done.
dpaoliello edited the summary of this revision.
dpaoliello added a comment.

Address PR comments:

- Don't assume branch can use the jump table address.
- Implement ARM32 support and add tests.


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

https://reviews.llvm.org/D149367

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/include/llvm/DebugInfo/CodeView/CodeView.h
  llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def
  llvm/include/llvm/DebugInfo/CodeView/EnumTables.h
  llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
  llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
  llvm/lib/DebugInfo/CodeView/EnumTables.cpp
  llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp
  llvm/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp
  llvm/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
  llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.cpp
  llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp
  llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
  llvm/lib/Target/ARM/ARMAsmPrinter.cpp
  llvm/lib/Target/ARM/ARMAsmPrinter.h
  llvm/test/DebugInfo/COFF/jump-table.ll
  llvm/tools/llvm-pdbutil/MinimalSymbolDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149367.518104.patch
Type: text/x-patch
Size: 35271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230429/0f4401de/attachment.bin>


More information about the llvm-commits mailing list