[test-suite] r266010 - Add a flag passthough for LNT diagnosis tool
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 11 16:05:02 PDT 2016
On Mon, Apr 11, 2016 at 3:51 PM, Chris Matthews via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: cmatthews
> Date: Mon Apr 11 17:51:53 2016
> New Revision: 266010
>
> URL: http://llvm.org/viewvc/llvm-project?rev=266010&view=rev
> Log:
> Add a flag passthough for LNT diagnosis tool
>
> LNT will now collected details about a run to help triage and diagnose
> performance problems. LNT needs to pass extra cflags args on top of the
> normal flags to do this.
>
> Modified:
> test-suite/trunk/CMakeLists.txt
>
> Modified: test-suite/trunk/CMakeLists.txt
> URL:
> http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=266010&r1=266009&r2=266010&view=diff
>
> ==============================================================================
> --- test-suite/trunk/CMakeLists.txt (original)
> +++ test-suite/trunk/CMakeLists.txt Mon Apr 11 17:51:53 2016
> @@ -99,6 +99,13 @@ endif()
> set(TEST_SUITE_PROFILE_USE "FALSE" CACHE BOOL
> "Add apropriate -fprofile-instr-use to CFLAGS/CXXFLAGS for each
> benchmark")
>
> +# When running the test-suite in diagnosis mode, use these flags passed by
> +# LNT to gather data, for examples -ftime-report, or -llvm -stats.
>
This should be `-mllvm -stats`, right?
-- Sean Silva
> +if(TEST_SUITE_DIAGNOSE)
> + list(APPEND CFLAGS ${TEST_SUITE_DIAGNOSE_FLAGS})
> + list(APPEND CXXFLAGS ${TEST_SUITE_DIAGNOSE_FLAGS})
> +endif()
> +
> include(MakefileFunctions)
> include(SingleMultiSource)
> find_package(TCL)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160411/1e94c963/attachment.html>
More information about the llvm-commits
mailing list