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

Jean-Daniel Dupas mailing at xenonium.com
Tue Feb 17 02:47:48 PST 2015


Hi kledzik,

Properly recognize dtrace symbols and convert call sites to nop.

While this change allow to compile a program with SDT providers,
the generated binary does not contains the dof section required to enable the defined probes.

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
  lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.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.20073.patch
Type: text/x-patch
Size: 59182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150217/acebfcef/attachment.bin>


More information about the llvm-commits mailing list