Programming Languages Research Group: Git - oota-llvm.git/rss - unittests/ProfileData/CMakeLists.txt history http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=history;f=unittests/ProfileData/CMakeLists.txt C/C++ LLVM-based compilers that forbids OOTA behaviors en Brian Demsky static/git-logo.png Programming Languages Research Group: Git - oota-llvm.git/rss - unittests/ProfileData/CMakeLists.txt history http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=history;f=unittests/ProfileData/CMakeLists.txt Thu, 10 Dec 2015 17:21:42 +0000 Thu, 10 Dec 2015 17:21:42 +0000 gitweb v.2.34.1/2.34.1 [ProfileData] Add unit test infrastructure for sample profile reader/writer Nathan Slingerland <slingn@gmail.com> Thu, 10 Dec 2015 17:21:42 +0000 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=46cf0f07dcf34cfe59bfcfe7fb8b5a5797e786e6 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=46cf0f07dcf34cfe59bfcfe7fb8b5a5797e786e6 [ProfileData] Add unit test infrastructure for sample profile reader/writer [ProfileData] Add unit test infrastructure for sample profile reader/writer Summary: Adds support for in-memory round-trip of sample profile data along with basic round trip unit tests. This will also make it easier to include unit tests for future changes to sample profiling. Reviewers: davidxl, dnovillo, silvas Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D15211 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255264 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] unittests/ProfileData/CMakeLists.txt
]]>
Re-apply "InstrProf: Add unit tests for the profile reader and writer" Justin Bogner <mail@justinbogner.com> Wed, 18 Feb 2015 01:58:17 +0000 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=09e5af7d611387f03e7c5051ef44420e4ee0c6e9 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=09e5af7d611387f03e7c5051ef44420e4ee0c6e9 Re-apply "InstrProf: Add unit tests for the profile reader and writer" Re-apply "InstrProf: Add unit tests for the profile reader and writer" Have the InstrProfWriter return a MemoryBuffer instead of a std::string. This fixes the alignment issues the reader would hit, and it's a more appropriate type for this anyway. I've also removed an ugly helper function that's not needed since we're allowing initializer lists now, and updated some error code checks based on MSVC's issues with r229473. This reverts r229483, reapplying r229478. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229602 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] unittests/ProfileData/CMakeLists.txt
]]>
Revert "InstrProf: Add unit tests for the profile reader and writer" Justin Bogner <mail@justinbogner.com> Tue, 17 Feb 2015 09:21:43 +0000 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=ca3fdca1013e98c18efb8f57feb2ba5d33ab8f5f http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=ca3fdca1013e98c18efb8f57feb2ba5d33ab8f5f Revert "InstrProf: Add unit tests for the profile reader and writer" Revert "InstrProf: Add unit tests for the profile reader and writer" This added API to the InstrProfWriter to write to a string so I could write unittests without using temp files. This doesn't really work, since the format has tighter alignment requirements than a char. This reverts r229478 and its follow-up, r229481. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229483 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] unittests/ProfileData/CMakeLists.txt
]]>
Re-apply "InstrProf: Add unit tests for the profile reader and writer" Justin Bogner <mail@justinbogner.com> Tue, 17 Feb 2015 07:50:59 +0000 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=e7b8243e9aa409f690097b071f2b3232cd5a5fb6 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=e7b8243e9aa409f690097b071f2b3232cd5a5fb6 Re-apply "InstrProf: Add unit tests for the profile reader and writer" Re-apply "InstrProf: Add unit tests for the profile reader and writer" Add these tests again, but use va_list instead of initializer lists. This reverts r229456, reapplying r229455. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229478 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] unittests/ProfileData/CMakeLists.txt
]]>
Revert "InstrProf: Add unit tests for the profile reader and writer" Justin Bogner <mail@justinbogner.com> Mon, 16 Feb 2015 23:31:07 +0000 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=a9c73c5bc080ae8acab78a23de96e2150a9e2139 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=a9c73c5bc080ae8acab78a23de96e2150a9e2139 Revert "InstrProf: Add unit tests for the profile reader and writer" Revert "InstrProf: Add unit tests for the profile reader and writer" Looks like the bots don't like my initializer lists. This reverts r229455 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229456 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] unittests/ProfileData/CMakeLists.txt
]]>
InstrProf: Add unit tests for the profile reader and writer Justin Bogner <mail@justinbogner.com> Mon, 16 Feb 2015 23:27:48 +0000 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=77ae39453c58a2dada74d0839c2a03fe65e30591 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=77ae39453c58a2dada74d0839c2a03fe65e30591 InstrProf: Add unit tests for the profile reader and writer InstrProf: Add unit tests for the profile reader and writer This required some minor API to be added to these types to avoid needing temp files. Also, I've used initializer lists in the tests, as MSVC 2013 claims to support them. I'll redo this without them if the bots complain. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229455 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] unittests/ProfileData/CMakeLists.txt
]]>
InstrProf: Add some unit tests for CoverageMapping Justin Bogner <mail@justinbogner.com> Wed, 4 Feb 2015 00:15:12 +0000 http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=ff966308e1964c0780cc7a1dc05b644a729124bc http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff;h=ff966308e1964c0780cc7a1dc05b644a729124bc InstrProf: Add some unit tests for CoverageMapping InstrProf: Add some unit tests for CoverageMapping The llvm-level tests for coverage mapping need a binary input file, which means they're hard to understand, hard to update, and it's difficult to add new ones. By adding some unit tests that build up the coverage data structures in C++, we can write more meaningful and targeted tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228084 91177308-0d34-0410-b5e6-96231b3b80d8
  • [D] unittests/ProfileData/CMakeLists.txt
]]>