[PATCH] D63325: [Support][Time profiler] Make FE codegen blocks to be inside frontend blocks

Nathan Chancellor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 22 22:55:01 PDT 2019


nathanchance added a comment.

This test case has never passed for me with `check-clang`, is there something environment related that is needed with this or are others experiencing this too?

  [147/148] Running the Clang regression tests
  llvm-lit: /home/nathan/cbl/git/tc-build/llvm-project/llvm/utils/lit/lit/llvm/config.py:340: note: using clang: /home/nathan/cbl/git/tc-build/build/llvm/stage1/bin/clang
  FAIL: Clang :: Driver/check-time-trace-sections.cpp (4955 of 15278)
  ******************** TEST 'Clang :: Driver/check-time-trace-sections.cpp' FAILED ********************
  Script:
  --
  : 'RUN: at line 2';   /home/nathan/cbl/git/tc-build/build/llvm/stage1/bin/clang --driver-mode=g++ -S -ftime-trace -ftime-trace-granularity=0 -o /home/nathan/cbl/git/tc-build/build/llvm/stage1/tools/clang/test/Driver/Output/check-time-trace-sections /home/nathan/cbl/git/tc-build/llvm-project/clang/test/Driver/check-time-trace-sections.cpp
  : 'RUN: at line 3';   cat /home/nathan/cbl/git/tc-build/build/llvm/stage1/tools/clang/test/Driver/Output/check-time-trace-sections.json | "/usr/bin/python" /home/nathan/cbl/git/tc-build/llvm-project/clang/test/Driver/check-time-trace-sections.py
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  Time trace json-file dumped to /home/nathan/cbl/git/tc-build/build/llvm/stage1/tools/clang/test/Driver/Output/check-time-trace-sections.json
  Use chrome://tracing or Speedscope App (https://www.speedscope.app) for flamegraph visualization
  Not all CodeGen sections are inside any Frontend section!
  
  --
  
  ********************
  Testing Time: 38.46s
  ********************
  Failing Tests (1):
      Clang :: Driver/check-time-trace-sections.cpp
  
    Expected Passes    : 14008
    Expected Failures  : 15
    Unsupported Tests  : 1254
    Unexpected Failures: 1
  FAILED: tools/clang/test/CMakeFiles/check-clang 

This is on bdceb9fb14595d10f7d94e1dd950cf2d94d2f2d3 <https://reviews.llvm.org/rGbdceb9fb14595d10f7d94e1dd950cf2d94d2f2d3> using this script <https://github.com/ClangBuiltLinux/tc-build>'s command: `./build-llvm.py --build-stage1-only --check-targets clang --projects clang --targets X86`


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63325/new/

https://reviews.llvm.org/D63325





More information about the cfe-commits mailing list