Skip to content
  1. Nov 05, 2014
  2. Sep 19, 2014
  3. Sep 18, 2014
    • David Blaikie's avatar
      Disable GCC's -Woverloaded-virtual in the configure+make build. Clang's is better. · 9db82cf4
      David Blaikie authored
      Turns out Clang's -Woverloaded-virtual is enabled by -Wall in both CMake
      and Configure builds. We were only explicitly specifying it (thus
      enabling GCC's version of the warning) in the Configure build.
      
      The specific case of interest is:
      
        struct base {
          virtual void func();
          virtual void func(int);
        };
        struct derived: base {
          virtual void func(); // GCC warns here, because this causes
                               // func(int) to be hidden
        };
      
      I don't think that's worth getting fussed about (& Clang (indirectly
      me... since I improved this warning in Clang) agrees or we would've made
      the warning catch these cases.
      
      Technically this could still lead to bugs/confusion if base had
      func(int) and func(bool), derived overrode func(bool) and then a caller
      with a derived object tried to call func(42) - it would silently call
      func(bool). We should probably improve clang's warnings to catch this at
      the call site at some point.
      
      llvm-svn: 218059
      9db82cf4
  4. Sep 03, 2014
  5. Aug 14, 2014
    • Rafael Espindola's avatar
      Delete support for AuroraUX. · 36d3ee7c
      Rafael Espindola authored
      auroraux.org is not resolving.
      
      I will add this to the release notes as soon as I figure out where to put the
      3.6 release notes :-)
      
      llvm-svn: 215645
      36d3ee7c
  6. Aug 08, 2014
  7. Aug 07, 2014
    • Rafael Espindola's avatar
      Nuke the old JIT. · f8b27c41
      Rafael Espindola authored
      I am sure we will be finding bits and pieces of dead code for years to
      come, but this is a good start.
      
      Thanks to Lang Hames for making MCJIT a good replacement!
      
      llvm-svn: 215111
      f8b27c41
  8. Jun 20, 2014
  9. Jun 18, 2014
  10. May 15, 2014
  11. May 13, 2014
    • Tom Stellard's avatar
      autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) · 9541307c
      Tom Stellard authored
      We were using libLLVM-Major.Minor.Patch.so for the soname, but we
      need the soname to stay consistent for all Major.Minor.* releases
      otherwise operating system distributors  will need to rebuild all
      packages that link with LLVM every time there is a new point release.
      
      This patch also reverses the compatibility symlink, so
      libLLVM-Major.Minor.Patch.so is now a symlink that points
      to libLLVM-Major-Minor.so.
      
      llvm-svn: 208721
      9541307c
  12. May 06, 2014
  13. Mar 12, 2014
  14. Mar 07, 2014
  15. Mar 03, 2014
    • Tom Stellard's avatar
      Add patch level to llvm version in CMake and Autoconf · e6ba81da
      Tom Stellard authored
      The shared library generated by autoconf will now be called
      libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)$(VERSION_SUFFIX).so
      and a symlink named
      libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_SUFFIX).so will
      also be created in the install directory.
      
      llvm-svn: 202720
      e6ba81da
  16. Mar 01, 2014
    • Chandler Carruth's avatar
      [C++11] Replace autoconf --enable-cxx11 with --enable-cxx1y. The · bbae512c
      Chandler Carruth authored
      baseline is now C++11, and we unconditionally add -std=c++11 to the
      flags.
      
      This has the dim potential to break some non-GNU-compatible compiler (in
      terms of -std flags) using the makefiles, but those makefiles are
      littered with GNU-style compile flags so it would be very surprising to
      me for it to actually happen in practice. As always, do let me know if
      there is a toolchain you're using where this doesn't work, and I'll be
      watching the bots.
      
      llvm-svn: 202569
      bbae512c
  17. Feb 28, 2014
    • Rafael Espindola's avatar
      Centralize the handling of install_name and rpath. · c80968e9
      Rafael Espindola authored
      This centralizes the Makefile handling of -install_name and -rpath. It also
      moves the cmake build to using @rpath. The reason being that libclang needs it,
      and it works for everything else.
      
      A followup patch will move clang to using this and then there will be a single
      point to edit to support other systems.
      
      llvm-svn: 202499
      c80968e9
  18. Feb 09, 2014
    • NAKAMURA Takumi's avatar
      Provide CMake package modules in install tree · 01e3c64f
      NAKAMURA Takumi authored
      Teach the Makefile build system to generate and install CMake modules
      LLVMConfig.cmake and LLVMConfigVersion.cmake so that applications that
      build with CMake can use 'find_package(LLVM)' even when LLVM is not
      built with CMake.  These modules tell such applications about available
      LLVM libraries and their dependencies.
      
      Run llvm-config to generate the list of libraries and use the results of
      llvm-build to generate the library dependencies.  Use sed to perform
      substitutions in the LLVMConfig.cmake.in and LLVMConfigVersion.cmake.in
      sources that our CMake build system uses.
      
      Teach the Makefile build system to generate the LLVMExports.cmake file
      with content similar to that produced by the CMake install(EXPORT)
      command.  Extend llvm-build with an option to generate the library
      dependencies fragment for this file.
      
      Contributed by Brad King.
      
      llvm-svn: 201053
      01e3c64f
  19. Jan 03, 2014
  20. Dec 27, 2013
    • Nico Weber's avatar
      Strip dead code when linking by default with BFD ld (linux, ...) and ld64 (os x). · 47ba8fa7
      Nico Weber authored
      This reduces the size of clang-format from 22 MB to 1.8 MB, diagtool goes from
      21 MB to 2.8 MB, libclang.so goes from 29 MB to 20 MB, etc.  The size of the
      bin/ folder shrinks from 270 MB to 200 MB.
      
      Targets that support plugins and don't already use EXPORTED_SYMBOL_FILE
      (which libclang and libLTO already do) can set NO_DEAD_STRIP to opt out.
      
      llvm-svn: 198087
      47ba8fa7
  21. Nov 15, 2013
    • Chandler Carruth's avatar
      Teach the Makefile build system how to handle SOURCES which include · 9c33cfa4
      Chandler Carruth authored
      subdirectories. The only thing needed here is to create the appropriate
      object file directories and add those as dependencies for the
      compilation rules.
      
      As a consequence, factor the non-source-file-specific dependencies for
      compilation rules into a helper variable. This fixes an issue where the
      project makefile wasn't actually a dependency of a bunch of compilation
      make rules for no apparant reason.
      
      This should have no observable effect for current makefile usage, but
      will simplify how we build other libraries and is something CMake
      already supports.
      
      llvm-svn: 194753
      9c33cfa4
  22. Nov 14, 2013
  23. Oct 31, 2013
  24. Aug 18, 2013
  25. Aug 06, 2013
  26. Aug 05, 2013
  27. Jul 25, 2013
  28. Jul 01, 2013
    • Sylvestre Ledru's avatar
      The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD. · 93a491bb
      Sylvestre Ledru authored
      This kind of simplification is sometimes useful, but in general it's not correct. 
      
      As GNU/kFreeBSD is an hybrid system, for kernel-related issues we want to match the
      build definitions used for FreeBSD, whereas for userland-related issues we want to
      match the definitions used for other systems with Glibc.
      
      The current modification adjusts the build system so that they can be distinguished,
      and explicitly adds GNU/kFreeBSD to the build checks in which it belongs.
      
      Fixes bug #16444.
      
      Patch by Robert Millan in the context of Debian.
      
      llvm-svn: 185311
      93a491bb
  29. Jun 27, 2013
    • Bob Wilson's avatar
      Add CXXFLAGS back to the Link command. · 7abe2583
      Bob Wilson authored
      This is essentially reverting one piece of 184793 to try to fix one of Apple's
      buildbots.  I will check with Eric to see if this is OK or if we need to find
      some other solution.
      
      llvm-svn: 185060
      7abe2583
  30. Jun 25, 2013
  31. May 23, 2013
  32. May 14, 2013
  33. May 03, 2013
  34. May 02, 2013
  35. Apr 25, 2013
Loading