summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-10-10 17:58:09 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-10-10 17:58:09 +0000
commit057784a263d93cf2efe84f91c336ebfd30a28268 (patch)
treed866f33c6055bd8bef6aab628b5ce9fc39e8e151 /llvm/lib/CMakeLists.txt
parentd8e7ca4a32bb533564ef033156d657b95fbc6b64 (diff)
downloadbcm5719-llvm-057784a263d93cf2efe84f91c336ebfd30a28268.tar.gz
bcm5719-llvm-057784a263d93cf2efe84f91c336ebfd30a28268.zip
[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
Diffstat (limited to 'llvm/lib/CMakeLists.txt')
-rw-r--r--llvm/lib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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)
OpenPOWER on IntegriCloud