[PATCH] D55774: [AArch64] - Return address signing dwarf support

Luke Cheeseman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 17 09:47:46 PST 2018


LukeCheeseman created this revision.
LukeCheeseman added a reviewer: olista01.
Herald added subscribers: llvm-commits, JDevlieghere, fedor.sergeev, kristof.beyls, javed.absar, aprantl.

- Reapply changes intially introduced in r343089
- The archtecture info is no longer loaded whenever a DWARFContext is created
- The runtimes libraries (santiziers) make use of the dwarf context classes but do not intialise the target info
- The architecture of the object can be obtained without loading the target info
- Adding a method to the dwarf context to get this information and multiplex the string printing later on


Repository:
  rL LLVM

https://reviews.llvm.org/D55774

Files:
  include/llvm/BinaryFormat/Dwarf.def
  include/llvm/BinaryFormat/Dwarf.h
  include/llvm/DebugInfo/DWARF/DWARFContext.h
  include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
  include/llvm/MC/MCDwarf.h
  include/llvm/MC/MCStreamer.h
  lib/BinaryFormat/Dwarf.cpp
  lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  lib/CodeGen/CFIInstrInserter.cpp
  lib/CodeGen/MIRParser/MILexer.cpp
  lib/CodeGen/MIRParser/MILexer.h
  lib/CodeGen/MIRParser/MIParser.cpp
  lib/CodeGen/MachineOperand.cpp
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCDwarf.cpp
  lib/MC/MCStreamer.cpp
  lib/Target/AArch64/AArch64FrameLowering.cpp
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  test/CodeGen/AArch64/sign-return-address.ll
  test/CodeGen/MIR/AArch64/cfi.mir
  tools/llvm-readobj/DwarfCFIEHPrinter.h
  tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55774.178482.patch
Type: text/x-patch
Size: 38724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181217/dd92e427/attachment.bin>


More information about the llvm-commits mailing list