[PATCH] D24799: [XRay] Check in Clang whether XRay supports the target when -fxray-instrument is passed

Dean Michael Berris via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 15:20:45 PDT 2016


dberris added a comment.

It was in the .cpp file, and was mostly trailing whitespace. This is what I did:

  curl https://reviews.llvm.org/file/data/d72xn56ybspvx3ovex36/PHID-FILE-vzd63mvia62eq7e32iho/D24799.diff | git apply - -p0 --whitespace=fix

And I got the following:

  <stdin>:6: trailing whitespace.
  
  <stdin>:7: trailing whitespace.
    if (Args.hasFlag(options::OPT_fxray_instrument,
  <stdin>:8: trailing whitespace.
                     options::OPT_fnoxray_instrument, false)) {
  <stdin>:10: trailing whitespace.
      const char *const XRayInstrumentOption = "-fxray-instrument";
  <stdin>:11: trailing whitespace.
      if (Triple.getOS() == llvm::Triple::Linux &&


Repository:
  rL LLVM

https://reviews.llvm.org/D24799





More information about the cfe-commits mailing list