[PATCH] D39114: [XRay] Initial XRay in Darwin Support

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 05:42:09 PST 2017


dberris updated this revision to Diff 122229.
dberris added a comment.

- fixup: Use ASM macros for darwin assembly
- fixup: support weak symbols for Darwin linkage
- fixup: qualify symbols, use macros, limit weak symbols
- fixup: move test cases from Linux up one directory
- fixup: make clang link the needed runtime bits in osx
- fixup: update tests to run on x86_64 on both Darwin and Linux


https://reviews.llvm.org/D39114

Files:
  clang/include/clang/Driver/XRayArgs.h
  clang/lib/Driver/ToolChains/Darwin.cpp
  clang/lib/Driver/XRayArgs.cpp
  compiler-rt/cmake/config-ix.cmake
  compiler-rt/lib/xray/CMakeLists.txt
  compiler-rt/lib/xray/tests/CMakeLists.txt
  compiler-rt/lib/xray/weak_symbols.txt
  compiler-rt/lib/xray/xray_init.cc
  compiler-rt/lib/xray/xray_trampoline_x86_64.S
  compiler-rt/test/xray/TestCases/Darwin/always-never-instrument.cc
  compiler-rt/test/xray/TestCases/Darwin/lit.local.cfg
  compiler-rt/test/xray/TestCases/Linux/always-never-instrument.cc
  compiler-rt/test/xray/TestCases/Linux/arg1-arg0-logging.cc
  compiler-rt/test/xray/TestCases/Linux/arg1-logger.cc
  compiler-rt/test/xray/TestCases/Linux/arg1-logging-implicit-this.cc
  compiler-rt/test/xray/TestCases/Linux/argv0-log-file-name.cc
  compiler-rt/test/xray/TestCases/Linux/coverage-sample.cc
  compiler-rt/test/xray/TestCases/Linux/custom-event-handler-alignment.cc
  compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc
  compiler-rt/test/xray/TestCases/Linux/fdr-mode.cc
  compiler-rt/test/xray/TestCases/Linux/fdr-single-thread.cc
  compiler-rt/test/xray/TestCases/Linux/fdr-thread-order.cc
  compiler-rt/test/xray/TestCases/Linux/fixedsize-logging.cc
  compiler-rt/test/xray/TestCases/Linux/func-id-utils.cc
  compiler-rt/test/xray/TestCases/Linux/optional-inmemory-log.cc
  compiler-rt/test/xray/TestCases/Linux/patching-unpatching.cc
  compiler-rt/test/xray/TestCases/Linux/pic_test.cc
  compiler-rt/test/xray/TestCases/Linux/quiet-start.cc
  compiler-rt/test/xray/TestCases/always-never-instrument.cc
  compiler-rt/test/xray/TestCases/arg1-arg0-logging.cc
  compiler-rt/test/xray/TestCases/arg1-logger.cc
  compiler-rt/test/xray/TestCases/arg1-logging-implicit-this.cc
  compiler-rt/test/xray/TestCases/argv0-log-file-name.cc
  compiler-rt/test/xray/TestCases/coverage-sample.cc
  compiler-rt/test/xray/TestCases/custom-event-handler-alignment.cc
  compiler-rt/test/xray/TestCases/custom-event-logging.cc
  compiler-rt/test/xray/TestCases/fdr-mode.cc
  compiler-rt/test/xray/TestCases/fdr-single-thread.cc
  compiler-rt/test/xray/TestCases/fdr-thread-order.cc
  compiler-rt/test/xray/TestCases/fixedsize-logging.cc
  compiler-rt/test/xray/TestCases/func-id-utils.cc
  compiler-rt/test/xray/TestCases/lit.local.cfg
  compiler-rt/test/xray/TestCases/optional-inmemory-log.cc
  compiler-rt/test/xray/TestCases/patching-unpatching.cc
  compiler-rt/test/xray/TestCases/pic_test.cc
  compiler-rt/test/xray/TestCases/quiet-start.cc
  compiler-rt/test/xray/lit.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39114.122229.patch
Type: text/x-patch
Size: 33977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171109/9646b990/attachment.bin>


More information about the llvm-commits mailing list