search for: delcyph

Displaying 14 results from an estimated 14 matches for "delcyph".

Did you mean: delcypher
2014 Jun 07
2
[LLVMdev] Not able to run pass
Sir, your answer put me in starting situation.As I told I am not able to generate .bc file of hello.cpp(the pass file) as it is giving errors when I use clang -emit-llvm -c hello.cpp -o hello.bc.So please if you can help me. Thanks On Fri, Jun 6, 2014 at 3:48 PM, Dan Liew <dan at su-root.co.uk> wrote: > On 5 June 2014 10:12, Prashanth Sharma <cs13m1017 at iith.ac.in> wrote:
2016 Feb 12
3
[cfe-dev] Buildling with/without AddressSanitizer causes divergent execution behaviour
On 11 February 2016 at 17:08, Reid Kleckner <rnk at google.com> wrote: > On Thu, Feb 11, 2016 at 5:53 AM, Dan Liew via cfe-dev > <cfe-dev at lists.llvm.org> wrote: >> >> > Can you somehow verify that this heap-use-after-free is happening? >> > E.g. print all the pointer values coming from memory::allocate, coming >> > into >> >
2013 Apr 11
0
[LLVMdev] Modifying the support CommandLine Library to support option categories and iteration over registered options
...ns(StringMap<Option*>& map) to get a map that maps strings (e.g. "help") to the Option* . This gives the client a lot of control over options. I made an example project that demonstrates my changes to the LLVM CommandLine library. Here's some of the code. https://github.com/delcypher/sample-llvm-cmd/blob/master/tools/sample/main.cpp Cheers, Dan. On 11 April 2013 09:08, Tobias Grosser <tobias at grosser.es> wrote: > On 02/06/2013 07:16 PM, Daniel Liew wrote: >> Hi, >> >> I'm a contributor to the KLEE project (based on LLVM) and I'm >>...
2014 Sep 09
2
[LLVMdev] Can't build against LLVM-3.5 with CMake: CMakeExports.cmake broken?
Hi all, I can't seem to get the simplest CMakeLists.txt file working from http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project. Do any of the LLVM projects use `find_package(LLVM REQUIRED CONFIG)`? Should I just be using `llvm-config` directly? http://llvm.org/bugs/show_bug.cgi?id=20884 David
2016 Jun 01
3
[llvm-foundation] IMPORTANT: APT repo temporary switched off
On 1 June 2016 at 18:34, Dan Liew <dan at su-root.co.uk> wrote: > I've used PPAs as a developer before and I hated the experience but > that's probably because launchpad (the web interface) is garbage. Indeed! It seems that the people relying on our apt service wouldn't bother much where we move it to. So, I'm ok with any solution that replaces the functionality.
2014 Jul 16
5
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
...a client at minimum ``-std=c++11 -f-no-rtti`` are needed. This information is shown by the ``llvm-config --cxxflags`` command but why aren't we exposing this information in LLVMConfig.cmake so clients can make use of it. For example in [1] I had to specify these by hand. [1] https://github.com/delcypher/srg-llvm-pass-tutorial [2] http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project Thanks, Dan Liew.
2014 Nov 07
2
[LLVMdev] Fwd: LLVM Help
> Hi All, > Attached above my InstCount.cpp after modification. I did simple > modification which is the following (The statements between the > ************** ) : > bool InstCount::runOnFunction(Function &F) { > unsigned StartMemInsts = > NumGetElementPtrInst + NumLoadInst + NumStoreInst + NumCallInst + > NumInvokeInst + NumAllocaInst; >
2015 Jun 27
7
[LLVMdev] [RFC] Improving the testing of exported LLVM CMake targets
...impler but not very useful because it means those who want to use the official LLVM binary release builds on their machine can't unless they have root access (so they can write to /usr/local/). Thoughts? [1] http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project [2] https://github.com/delcypher/llvmCMakeImportDemo [3] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150622/284436.html Thanks, Dan.
2014 Sep 09
3
[LLVMdev] Can't build against LLVM-3.5 with CMake: CMakeExports.cmake broken?
...m-project/llvm/branches/release_35 src $ mkdir build $ cd build $ cmake -G Ninja ../src $ ninja # This is just for convenience when setting LLVM_DIR later on. $ LLVM_BUILD_ROOT="$(pwd)" # Build simple tutorial project $ cd ../ $ mkdir srg-llvm-pass-tutorial $ git clone https://github.com/delcypher/srg-llvm-pass-tutorial.git src $ mkdir build $ cd build/ # I'm assuming your shell will example ${LLVM_BUILD_ROOT} before invoking cmake $ cmake -DLLVM_DIR:PATH=${LLVM_BUILD_ROOT}/share/llvm/cmake/ -G Ninja ../src $ ninja Hope that helps Dan.
2018 Jan 08
0
LLVM Weekly - #210, Jan 8th 2018
...ab.com/) is a new open-source LLVM-based Dyanmic Binary Instrumentation Tools from QuarksLab. You can find out more from this [recent 34C3 talk](https://media.ccc.de/v/34c3-9006-implementing_an_llvm_based_dynamic_binary_instrumentation_framework). Dan Liew has open sourced [JFS](https://github.com/delcypher/jfs) (JIT Fuzzing Solver), a constraint solver built on top of Z3 and LibFuzzer. It works by generating a C++ program where the reachability of an abort() statement is equivalent to finding a satisfying assignment to the constraints, then uses libFuzzer to solve it. The next Zurich LLVM Social w...
2014 Jul 18
2
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
...because it tells the client if NDEBUG was defined when LLVM was built. Mixing LLVM built with NDEBUG defined but then including LLVM header files in a project with NDEBUG not defined can lead to trouble (e.g. trying to use facilities in llvm/Support/Debug.h causes problems). [1] https://github.com/delcypher/srg-llvm-pass-tutorial/tree/master/usingIRBuilder Thanks, Dan.
2018 Nov 06
2
[RFC] Enable thread specific cl::opt values for multi-threaded support
...eed an answer to the initialization story. Maybe per-library initialization? We already have that for most of our libraries. -Chris > On Oct 31, 2018, at 12:11 AM, Yevgeny Rouban via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > >>! In D53424#1273950 <tel:1273950>, @delcypher wrote: > >>>! In D53424#1273737 <tel:1273737>, @yrouban wrote: > >>>>! In D53424#1273728 <tel:1273728>, @jfb wrote: > >>> Was there a commitment from the community, with some time horizon for moving away from this patch? > … > > While I...
2012 Sep 14
0
[LLVMdev] Problem using llvm::cl::bits class with gcc 4.7
Hi, I'm currently working on the KLEE tool that uses LLVM (2.9 because that's what KLEE currently uses) and in particular I'm having an unexpected problem with the llvm::cl::bits class. I try something like this... enum testx { A,B }; cl::bits<testx> queryLoggingOptions("option",cl::values( clEnumVal(A,"this is a"),
2012 Jun 18
0
[LLVMdev] Problem compiling llvm-gcc (needed for KLEE)
Hi, I'm having problems compiling llvm-gcc-4.2-2.9 (from [1]). I need to use this version because I am trying to use KLEE (see [3]) which needs these versions. I am compiling on Arch Linux using gcc (GCC) 4.7.0 20120505 (prerelease) the output of `gcc -v` can be found at http://pastebin.com/8j2m3wzD I have tried the following 1. Extracted llvm-2.9 (from [2]) 2. Applied a patch (adds