[PATCH] D63415: [WIP][AsmPrinter] Make the encoding of call sites in .gcc_except_table configurable

Edward Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 04:50:16 PDT 2019


edward-jones created this revision.
edward-jones added reviewers: asb, lewis-revill.
Herald added subscribers: llvm-commits, PkmX.
Herald added a project: LLVM.

The original behavior was to always emit the offsets to each call site in the call site table as uleb128 values, however on some architectures (eg RISCV) these uleb128 offsets into the code cannot always be resolved until link time (because relaxation will invalidate any calculated offsets), and there are no appropriate relocations for uleb128 values. As a consequence it needs to be possible to specify an alternative.

Work in progress as this is currently lacking tests


Repository:
  rL LLVM

https://reviews.llvm.org/D63415

Files:
  include/llvm/CodeGen/AsmPrinter.h
  include/llvm/Target/TargetLoweringObjectFile.h
  lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  lib/CodeGen/AsmPrinter/EHStreamer.cpp
  lib/Target/TargetLoweringObjectFile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63415.205032.patch
Type: text/x-patch
Size: 5405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/63abb946/attachment.bin>


More information about the llvm-commits mailing list