Displaying 4 results from an estimated 4 matches for "plugin_tool".
2019 Sep 20
4
[RFC] Generalize out-of-tree pass support
Hi folks,
I've been working for a few months on a proposal to make it easier to develop
out-of-tree passes, and have them linked either statically or dynamically,
within LLVM. This includes automatic integration within clang, opt and bugpoint.
The goal is to lower the bar for people who develop out-of tree passes: they can
maintain their code base in a third-party repo, pick it at config
2020 Mar 27
2
We have a problem about pass.
...n make in llvm/build/lib
However, the desired pass file was not created. There were no errors in the
make process.
Installed version is LLVM & clang 8.0.0, CMAKE 3.4.3.
Here is the contents of CMakeLists.txt set in the pass:
add_llvm_module ( Filter MODULE
Filter.cpp
DEPENDS
intrinsics_gen
PLUGIN_TOOL
opt
)
We are looking forward to hearing from you.
Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200327/0c4d499f/attachment-0001.html>
2018 Jul 10
2
custom LLVM Pass with options fails to load
...lvm/6.0.0/lib/TestPass.so
-testPass test.cpp
Aborted
in my cmakelists.txt I have the following:
set(CMAKE_BUILD_TYPE Debug)
set(LLVM_LINK_COMPONENTS
Core # narrowed it down to this
BinaryFormat
Support
Demangle
)
add_llvm_loadable_module( TestPass
TestPass.cpp
DEPENDS
intrinsics_gen
PLUGIN_TOOL
opt
)
in my cpp I have this:
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/CommandLine.h"
#include...
2018 Jul 12
2
custom LLVM Pass with options fails to load
...; Core # narrowed it down to this
>> BinaryFormat
>> Support
>> Demangle
>> )
>>
>> add_llvm_loadable_module( TestPass
>> TestPass.cpp
>>
>> DEPENDS
>> intrinsics_gen
>> PLUGIN_TOOL
>> opt
>> )
>>
>> in my cpp I have this:
>>
>> #include "llvm/IR/Constants.h"
>> #include "llvm/IR/Function.h"
>> #include "llvm/IR/Module.h"
>> #include "llvm/IR/PassManager.h"
>> #include &...