[PATCH] D92058: [XCOFF][AIX] Alternative path in EHStreamer for platforms do not have uleb128 support

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 13:52:57 PST 2020


jasonliu created this revision.
jasonliu added reviewers: daltenty, DiggerLin, xingxue, hubert.reinterpretcast, sfertile.
Herald added subscribers: llvm-commits, pengfei, hiraditya, nemanjai.
Herald added a project: LLVM.
jasonliu requested review of this revision.

Not all system assembler supports `.uleb128 label2 - label1` form.
When the target do not support this form, we have to take alternative manual calculation to get the offsets from them.


https://reviews.llvm.org/D92058

Files:
  llvm/include/llvm/MC/MCAsmInfo.h
  llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
  llvm/lib/MC/MCAsmInfo.cpp
  llvm/lib/MC/MCAsmInfoXCOFF.cpp
  llvm/test/CodeGen/PowerPC/aix-exception.ll
  llvm/test/CodeGen/X86/gnu-eh-alternative.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92058.307444.patch
Type: text/x-patch
Size: 15860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201124/e90d7f2c/attachment.bin>


More information about the llvm-commits mailing list