]> granicus.if.org Git - llvm/commit
[llvm-exegesis][NFC] Refactor snippet file reading out of tool main.
authorClement Courbet <courbet@google.com>
Mon, 30 Sep 2019 12:50:25 +0000 (12:50 +0000)
committerClement Courbet <courbet@google.com>
Mon, 30 Sep 2019 12:50:25 +0000 (12:50 +0000)
commit22b194520a72d00e8aac50c87995368c115bf750
tree9b1e1b986630b6e73c42975115f8cb4a2b6faebd
parentc6dd656bf3a781e64dea3fe7522252f28bbf8564
[llvm-exegesis][NFC] Refactor snippet file reading out of tool main.

Summary: Add unit tests.

Reviewers: gchatelet

Subscribers: mgorny, tschuett, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68212

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373202 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-exegesis/lib/CMakeLists.txt
tools/llvm-exegesis/lib/SnippetFile.cpp [new file with mode: 0644]
tools/llvm-exegesis/lib/SnippetFile.h [new file with mode: 0644]
tools/llvm-exegesis/llvm-exegesis.cpp
unittests/tools/llvm-exegesis/X86/CMakeLists.txt
unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp [new file with mode: 0644]