search for: d61446

Displaying 7 results from an estimated 7 matches for "d61446".

Did you mean: 161446
2019 Sep 20
4
[RFC] Generalize out-of-tree pass support
...riables to change this behavior: - ``LLVM_${NAME}_LINK_INTO_TOOLS``, when sets to ``ON``, turns the project into a statically linked extension The review also contains an example of pass plugin, `llvm/examples/Bye/Bye.cpp`. The associated review is available at https://reviews.llvm.org/D61446, Michael Kruse has already done a lot of review, I think it's time to gather more feedback, so if you're interested... jump in!
2020 Nov 10
1
unusual use of getenv
...Hmm, not sure why the whole file was added only when MSVC support was added - if it is a "static library object file selection" issue. Wouldn't that have turned up on other platforms before that moment? > > It did turn up on non-Windows platforms in > https://reviews.llvm.org/D61446. The name of the file where this trick > is used "LinkAllPasses.h" should give a hint what it is used for. > Looking into the entire history of the file, I have no idea how one > would have concluded this whas a Windows thing. It first occurred in > 1c5b428ff8234cef705bf57bc14...
2019 Jul 15
3
Looking for an out-of-source "Hello, world" LLVM/Clang pass example
Andrzej, On 7/14/19 8:02 AM, Andrzej Warzynski wrote: > This is still very early stages, but you can be my guinea pig: > > https://github.com/banach-space/llvm-tutor > > It's a tutorial that I've been preparing recently and am hoping to > present somewhere at some point :-) I believe that it already covers 1), > 2) and 3). I haven't had the time to work on 4).
2020 Nov 10
0
unusual use of getenv
...com>: > Hmm, not sure why the whole file was added only when MSVC support was added - if it is a "static library object file selection" issue. Wouldn't that have turned up on other platforms before that moment? It did turn up on non-Windows platforms in https://reviews.llvm.org/D61446. The name of the file where this trick is used "LinkAllPasses.h" should give a hint what it is used for. Looking into the entire history of the file, I have no idea how one would have concluded this whas a Windows thing. It first occurred in 1c5b428ff8234cef705bf57bc1418deb4db25c83 (SVN r...
2020 Nov 02
4
unusual use of getenv
Oh, right, this stuff. I guess the non-windows solution might've been a volatile read, for instance? So maybe not so much that the general machinery isn't needed, but that perhaps MSVC does something interesting with a volatile read or whatever other solution might've been used. Hmm, not sure why the whole file was added only when MSVC support was added - if it is a "static
2019 Oct 24
7
RFC: Adding IR Transformation examples/tutorial code to llvm-project
Hi, I’d like to propose adding a new example directory (llvm/examples/IRTransforms) as a new home for example code used by various tutorials. After talking to a few people at the Developers meeting, it became clear to me that it would be valuable to have the code examples for various tutorials in-tree to keep them from bit-rotting and make it very easy to build them. I’d suggest adding new IR
2019 May 25
3
llvm pass
Hi list, I have several questions about LLVM pass. 1) Is building a custom LLVM pass out-of-source not recommended? The official document only contains instructions about in-source build (http://llvm.org/docs/WritingAnLLVMPass.html <http://llvm.org/docs/WritingAnLLVMPass.html>). 2) opt (ver >= 4) with custom pass libraries does not work as before. When I have a simple custom LLVM pass