[PATCH] [Mach-O] Dtrace Support Part 1: User SDT provider handling.

Jean-Daniel Dupas mailing at xenonium.com
Fri Mar 6 01:03:15 PST 2015


Take 2: Thanks for the review.

Dtrace relocation kinds where exposed to simplify the Dtrace relocation handling in the DofPass implementation (the Part 2). But I think it need more work anyway, so I completely removed the Dtrace ExtraInfo support for now and will reintroduce it when needed.

As I'm not an assembly expert, I'm not 100% sure about the assert to check the replaced instructions.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7695

Files:
  lib/ReaderWriter/MachO/ArchHandler.cpp
  lib/ReaderWriter/MachO/ArchHandler.h
  lib/ReaderWriter/MachO/ArchHandler_arm.cpp
  lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
  lib/ReaderWriter/MachO/ArchHandler_x86.cpp
  lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
  lib/ReaderWriter/MachO/File.h
  lib/ReaderWriter/MachO/MachONormalizedFile.h
  lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  test/lit.cfg
  test/mach-o/Inputs/dtrace-arm64.yaml
  test/mach-o/Inputs/dtrace-armv7s-thumb.yaml
  test/mach-o/Inputs/dtrace-armv7s.yaml
  test/mach-o/Inputs/dtrace-x86.yaml
  test/mach-o/Inputs/dtrace-x86_64.yaml
  test/mach-o/dtrace-arm64.yaml
  test/mach-o/dtrace-armv7s.yaml
  test/mach-o/dtrace-x86.yaml
  test/mach-o/dtrace-x86_64.yaml
  test/mach-o/parse-dtrace.yaml

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7695.21336.patch
Type: text/x-patch
Size: 54934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150306/2b76e582/attachment.bin>


More information about the llvm-commits mailing list