<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks for confirming my suspicious... hopefully no unforeseen
problems arise while I do that:) <br>
<br>
Regards<br>
<br>
<div class="moz-cite-prefix">On 17/08/14 14:19, Manuel Klimek wrote:<br>
</div>
<blockquote
cite="mid:CAOsfVvkiF-79_hOo+RH6DXRO-JLPdKBqKgAoco9+ChBqFvbUww@mail.gmail.com"
type="cite">You can write your own FronendActionFactory, and then
you have total control over the Action you create and what you
want to do with it. I have never done anything with llvm::Modules,
so unforeseen problems might arise ;)<br>
<br>
<div class="gmail_quote">On Sat Aug 16 2014 at 1:01:56 AM Adrian
Ortega <<a moz-do-not-send="true"
href="mailto:elfus0.1@gmail.com">elfus0.1@gmail.com</a>>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am trying to run an EmitLLVMOnlyAction using libtooling. I
am<br>
following this webpage<br>
<a moz-do-not-send="true"
href="http://llvm.org/releases/3.4/tools/clang/docs/LibTooling.html"
target="_blank">http://llvm.org/releases/3.4/tools/clang/docs/LibTooling.html</a><br>
<br>
And it actually works, but what I'm trying to do next is to
get the<br>
llvm::Module by using the llvm::CodeGenAction::takeModule()
method. I<br>
took a quick look at the code, and seems that for every
translation unit<br>
a different FrontendAction (EmitLLVMOnlyAction).<br>
<br>
The question is:<br>
Is there a way to get a pointer to that FrontendAction<br>
(EmitLLVMOnlyAction) created by ClangTool so I can play with
the<br>
llvm::Modules?<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:cfe-dev@cs.uiuc.edu"
target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a moz-do-not-send="true"
href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev"
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>