Skip to content
Snippets Groups Projects
  1. Dec 22, 2010
  2. Aug 25, 2010
  3. Aug 24, 2010
  4. Jun 08, 2010
  5. Feb 27, 2010
  6. Feb 25, 2010
    • Daniel Dunbar's avatar
      Add a minimal C interpreter example. · e2246286
      Daniel Dunbar authored
       - Demonstrates how to build a standalone tool which loads source code using the
         Driver and Frontend libraries, and then uses CodeGen and the JIT to actually
         execute the code.
      
       - Still more complicated than it should be, but hey its only 153 lines. :)
      
      --
      ddunbar@ozzy:tmp$ cat hello.c
      #include <stdio.h>
      int main() { printf("hello world\n"); return 0; }
      ddunbar@ozzy:tmp$ clang-interpreter hello.c
      hello world
      --
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97133 91177308-0d34-0410-b5e6-96231b3b80d8
      e2246286
  7. Jan 29, 2010
  8. Jan 25, 2010
    • Ted Kremenek's avatar
      Split libAnalysis into two libraries: libAnalysis and libChecker. · 1309f9a3
      Ted Kremenek authored
      (1) libAnalysis is a generic analysis library that can be used by
          Sema.  It defines the CFG, basic dataflow analysis primitives, and
          inexpensive flow-sensitive analyses (e.g. LiveVariables).
      
      (2) libChecker contains the guts of the static analyzer, incuding the
          path-sensitive analysis engine and domain-specific checks.
      
      Now any clients that want to use the frontend to build their own tools
      don't need to link in the entire static analyzer.
      
      This change exposes various obvious cleanups that can be made to the
      layout of files and headers in libChecker.  More changes pending.  :)
      
      This change also exposed a layering violation between AnalysisContext
      and MemRegion.  BlockInvocationContext shouldn't explicitly know about
      BlockDataRegions.  For now I've removed the BlockDataRegion* from
      BlockInvocationContext (removing context-sensitivity; although this
      wasn't used yet).  We need to have a better way to extend
      BlockInvocationContext (and any LocationContext) to add
      context-sensitivty.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94406 91177308-0d34-0410-b5e6-96231b3b80d8
      1309f9a3
  9. Jan 24, 2010
  10. Jan 18, 2010
  11. Dec 11, 2009
  12. Nov 30, 2009
  13. Nov 19, 2009
  14. Sep 23, 2009
  15. Mar 24, 2009
  16. Mar 18, 2009
  17. Mar 17, 2009
    • Douglas Gregor's avatar
      Build system changes to use TableGen to generate the various · a393e9ee
      Douglas Gregor authored
      diagnostics. This builds on the patch that Sebastian committed and
      then revert. Major differences are:
      
        - We don't remove or use the current ".def" files. Instead, for now,
          we just make sure that we're building the ".inc" files.
        - Fixed CMake makefiles to run TableGen and build the ".inc" files
          when needed. Tested with both the Xcode and Makefile generators
          provided by CMake, so it should be solid.
        - Fixed normal makefiles to handle out-of-source builds that involve
          the ".inc" files.
      
      I'll send a separate patch to the list with Sebastian's changes that
      eliminate the use of the .def files.
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67058 91177308-0d34-0410-b5e6-96231b3b80d8
      a393e9ee
  18. Mar 12, 2009
  19. Mar 04, 2009
  20. Mar 02, 2009
  21. Aug 06, 2008
  22. Mar 16, 2008
  23. Dec 29, 2007
  24. Sep 15, 2007
  25. Sep 06, 2007
  26. Jul 11, 2007
Loading