[PATCH] D136022: [clang] Add time profile for constant evaluation

Evgeny Shulgin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 21 17:29:29 PDT 2022


Izaron added inline comments.


================
Comment at: clang/unittests/Support/TimeProfilerTest.cpp:11
+#include "clang/Frontend/FrontendActions.h"
+#include "clang/Lex/PreprocessorOptions.h"
+
----------------
thakis wrote:
> Why is this in clang/unittests/Support (a new binary to boot)? This doesn't use any code form clang/lib/Support as far as I can tell.
It uses code from llvm/Support.

There are already tests with similar names: clang/unittest/CodeGen and llvm/unittests/CodeGen, both are pretty close in spirit.

So I decided to make clang/unittests/Support as a counterpart to llvm/unittests/Support. There is a time profiler test too - https://github.com/llvm/llvm-project/blob/main/llvm/unittests/Support/TimeProfilerTest.cpp


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136022



More information about the cfe-commits mailing list