[PATCH] D61584: [DebugInfo] Some fields do not need relocations even relax is enabled.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 19:27:02 PDT 2019


HsiangKai added a comment.

The call stack when evaluating `Length` in FDE is

  MCExpr::evaluateAsAbsolute()
  MCObjectStreamer::EmitValueImpl()  <= generate MCFixup
  MCELFStreamer::EmitValueImpl()
  MCStreamer::EmitValue()
  emitAbsValue()

Another way to solve the problem is to modify the interfaces of `emitAbsValue`, `EmitValue`, and `EmitValueImpl`. Carry the information to `MCObjectStreamer::EmitValueImpl` and attach the information to `MCFixup` when generating fixups.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61584





More information about the llvm-commits mailing list