search for: cxx_flags

Displaying 5 results from an estimated 5 matches for "cxx_flags".

Did you mean: ctx_flags
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
I regularly use '-DCMAKE_CXX_FLAGS' when configuring CLang/LLVM to distinguish my builds (Alpha/Beta/Final) or to build custom versions, usually by adding additional '-D' flags, but I discovered I had to add the ':STRING' qualifier to it when invoking 'cmake'. With 'gmake' this is equivalent to &...
2015 Jul 20
2
[LLVMdev] CMake does not propagate flags to build
...822df6a6e/CMakeLists.txt#L207 > > Everything is correctly built with -fno-omit-frame-pointer. > > Any suggestion why it would be the case? > > Thanks, > Adrian > > On Mon, Jul 20, 2015, at 01:39 PM, Martin J. O'Riordan wrote: > > I regularly use '-DCMAKE_CXX_FLAGS' when configuring CLang/LLVM to > > distinguish my builds (Alpha/Beta/Final) or to build custom versions, > > usually by adding additional '-D' flags, but I discovered I had to add > > the ':STRING' qualifier to it when invoking 'cmake'. With 'gmak...
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
Hey Pete, I also tried CMAKE_CXX_FLAGS_RELEASE with the same effect. On Mon, Jul 20, 2015, at 09:34 AM, Pete Cooper wrote: > Hi Adrian > > I’m not sure if the CMAKE_CXX_FLAGS is used in LLVM. We have our own > flags for different configurations. I don’t remember if our ones inherit > from CMAKE_CXX_FLAGS or override i...
2012 Jul 15
2
[LLVMdev] Linkage error in simple call graph pass?
Evening All, So I need a call graph pass and having done several other passes, I went to work on a simple pass, inheriting from CallGraphSCCPass. However, while I was quickly able to build the pass, when I went to run it I got the following: opt -load ../Passes/HierchalFunctions/Hierchal/hierchal.dylib -hierchal < hello.bc > /dev/null Error opening
2014 Apr 22
2
[LLVMdev] SCEV and induction variable identification
Hi Fellows, The goal is to find the induction variable for a loop, where the induction variable increments with the multiplication, division or shift operations, like this one: sz = 8; do { ... ... sz = sz / 2; } while (sz) Is SCEV capable of detecting the induction variable 'sz' in this case? The code snippet I am using to solve the problem is for each basic-block in a