]> granicus.if.org Git - llvm/commit
[OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 5 Mar 2019 20:45:17 +0000 (20:45 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 5 Mar 2019 20:45:17 +0000 (20:45 +0000)
commitf43cce5263833f2f48ec3ebb98e161688d587f0c
tree0417c1b45883b3d0fb8536f6a041847ae21d8606
parent5b3a6d5e2561a8881d66ab26c16c59cc140e35a4
[OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks

Getting rid of the name "optimization remarks" for anything that
involves handling remarks on the client side.

It's safer to do this now, before we get stuck with that name in all the
APIs and public interfaces we decide to export to users in the future.

This renames llvm/tools/opt-remarks to llvm/tools/remarks-shlib, and now
generates `libRemarks.dylib` instead of `libOptRemarks.dylib`.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355439 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
cmake/modules/AddLLVM.cmake
include/llvm-c/Remarks.h [moved from include/llvm-c/OptRemarks.h with 59% similarity]
lib/CMakeLists.txt
lib/LLVMBuild.txt
lib/OptRemarks/CMakeLists.txt [deleted file]
lib/Remarks/CMakeLists.txt [new file with mode: 0644]
lib/Remarks/LLVMBuild.txt [moved from lib/OptRemarks/LLVMBuild.txt with 88% similarity]
lib/Remarks/RemarkParser.cpp [moved from lib/OptRemarks/OptRemarksParser.cpp with 85% similarity]
tools/llvm-opt-report/CMakeLists.txt
tools/llvm-opt-report/OptReport.cpp
tools/opt-remarks/CMakeLists.txt [deleted file]
tools/opt-remarks/OptRemarks.exports [deleted file]
tools/remarks-shlib/CMakeLists.txt [new file with mode: 0644]
tools/remarks-shlib/Remarks.exports [new file with mode: 0644]
tools/remarks-shlib/libremarks.cpp [moved from tools/opt-remarks/liboptremarks.cpp with 63% similarity]
unittests/CMakeLists.txt
unittests/OptRemarks/CMakeLists.txt [deleted file]
unittests/OptRemarks/OptRemarksParsingTest.cpp [deleted file]
unittests/Remarks/CMakeLists.txt [new file with mode: 0644]
unittests/Remarks/RemarksParsingTest.cpp [new file with mode: 0644]