search for: dynamiccallcount

Displaying 2 results from an estimated 2 matches for "dynamiccallcount".

Did you mean: dynamiccallcounter
2019 Jul 15
3
Looking for an out-of-source "Hello, world" LLVM/Clang pass example
...t that it > works. If it doesn't, ping me - I'm keen on improving it. Cool, thanks. I just started reading over that now. I have a couple of questions already, if you don't mind: 1) I see you're building the pass with add_library(lt-cc-static STATIC StaticCallCounter.cpp DynamicCallCounter.cpp) add_library(lt-cc-shared MODULE StaticCallCounter.cpp DynamicCallCounter.cpp) What's the reason for building a STATIC version? Does any LLVM tool make use of that? Is add_library the preferred pass-building CMake macro these days, as opposed to add_llvm_library or add_llvm...
2019 Jul 10
2
Looking for an out-of-source "Hello, world" LLVM/Clang pass example
Florian, On 7/10/19 2:17 PM, Florian Hahn wrote: > http://www.cs.cornell.edu/~asampson/blog/llvm.html describes how to > create an out-of-source pass (see 'Let’s Write a Pass’). I think it > is for LLVM 3.8 though. Thanks for pointing that out. I had actually recently stumbled across that page (and the GitHub repository it references, https://github.com/sampsyo/llvm-pass-skeleton)