[PATCH] D29742: [XRay] Implement powerpc64le xray.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 18:02:54 PST 2017


timshen created this revision.
Herald added subscribers: mgorny, nemanjai, mehdi_amini.

powerpc64 bigendian is not supported, but I believe that most logic can
be shared, except for xray_powerpc64.cc.

Also add a function InvalidateInstructionCache to xray_util.h, which is
copied from llvm/Support/Memory.cpp. I'm not sure if I need to add a unittest,
and I don't know how.


https://reviews.llvm.org/D29742

Files:
  clang/lib/Driver/Tools.cpp
  compiler-rt/cmake/config-ix.cmake
  compiler-rt/lib/xray/CMakeLists.txt
  compiler-rt/lib/xray/xray_fdr_logging.cc
  compiler-rt/lib/xray/xray_inmemory_log.cc
  compiler-rt/lib/xray/xray_interface.cc
  compiler-rt/lib/xray/xray_powerpc64.cc
  compiler-rt/lib/xray/xray_trampoline_powerpc64.S
  compiler-rt/lib/xray/xray_trampoline_powerpc64.cc
  compiler-rt/lib/xray/xray_utils.cc
  compiler-rt/lib/xray/xray_utils.h
  llvm/lib/CodeGen/XRayInstrumentation.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/lib/Target/PowerPC/PPCSubtarget.h
  llvm/lib/XRay/InstrumentationMap.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29742.87741.patch
Type: text/x-patch
Size: 19964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170209/1c290857/attachment.bin>


More information about the llvm-commits mailing list