From 057784a263d93cf2efe84f91c336ebfd30a28268 Mon Sep 17 00:00:00 2001 From: Francis Visoiu Mistrih Date: Wed, 10 Oct 2018 17:58:09 +0000 Subject: [OptRemarks] Add library for parsing optimization remarks Add a library that parses optimization remarks (currently YAML, so based on the YAMLParser). The goal is to be able to provide tools a remark parser that is not completely dependent on YAML, in case we decide to change the format later. It exposes a C API which takes a handler that is called with the remark structure. It adds a libLLVMOptRemark.a static library, and it's used in-tree by the llvm-opt-report tool (from which the parser has been mostly moved out). Differential Revision: https://reviews.llvm.org/D52776 llvm-svn: 344162 --- llvm/lib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CMakeLists.txt') diff --git a/llvm/lib/CMakeLists.txt b/llvm/lib/CMakeLists.txt index ecf8b93d253..1f54c611bad 100644 --- a/llvm/lib/CMakeLists.txt +++ b/llvm/lib/CMakeLists.txt @@ -15,6 +15,7 @@ add_subdirectory(MC) add_subdirectory(Object) add_subdirectory(ObjectYAML) add_subdirectory(Option) +add_subdirectory(OptRemarks) add_subdirectory(DebugInfo) add_subdirectory(ExecutionEngine) add_subdirectory(Target) -- cgit v1.2.3