Skip to content
  1. Feb 05, 2014
    • Todd Fiala's avatar
      Fix configure to find arc4random via header files. · 4ccfe392
      Todd Fiala authored
      ISSUE:
      
      On Ubuntu 12.04 LTS, arc4random is provided by libbsd.so, which is a
      transitive dependency of libedit. If a system had libedit on it that
      was implemented in terms of libbsd.so, then the arc4random test,
      previously implemented as a linker test, would succeed with -ledit.
      However, on Ubuntu this would also require a #include <bsd/stdlib.h>.
      This caused a build breakage on configure-based Ubuntu 12.04 with
      libedit installed.
      
      FIX:
      
      This fix changes configure to test for arc4random by searching for it
      in the standard header files. On Ubuntu 12.04, this test now properly
      fails to find arc4random as it is not defined in the default header
      locations. It also tweaks the #define names to match the output of the
      header check command, which is slightly different than the linker
      function check #defines.
      
      I tested the following scenarios:
      
      (1) Ubuntu 12.04 without the libedit package [did not find arc4random,
      as expected]
      
      (2) Ubuntu 12.04 with libedit package [properly did not find
      arc4random, as expected]
      
      (3) Ubuntu 12.04 with most recent libedit, custom built, and not
      dependent on libbsd.so [properly did not find arc4random, as
      expected].
      
      (4) FreeBSD 10.0B1 [properly found arc4random, as expected]
      
      llvm-svn: 200819
      4ccfe392
    • Rafael Espindola's avatar
      Add a test for printing absolute symbols in ELF. · 02eac9a2
      Rafael Espindola authored
      llvm-svn: 200818
      02eac9a2
    • Jordan Rose's avatar
      [CMake] Deliberately get all LLVM library dependencies for standalone builds. · 5fe0f658
      Jordan Rose authored
      CMake won't expand the dependency graph for us if the dependencies are in
      another project, which leads to link errors in the standalone build.
      This is a refinement of r200765.
      
      llvm-svn: 200812
      5fe0f658
    • Jordan Rose's avatar
      [CMake] Move -stdlib=libc++ handling into its own file. · 31c5b7b6
      Jordan Rose authored
      r200744 moved this into cmake/config-ix.cmake, so that it would happen very
      early in the build process. However, standalone builds of Clang and other
      external projects never include this file (which is correct).
      
      Now, -stdlib=libc++ and the LLVM_COMPILER_IS_GCC_COMPATIBLE option are
      both set in a new include file, HandleLLVMStdlib, which is included by
      both config-ix.cmake and HandleLLVMOptions.cmake. This preserves existing
      behavior for projects relying on HandleLLVMOptions and still does the
      right thing for builds of LLVM itself.
      
      llvm-svn: 200811
      31c5b7b6
    • Rafael Espindola's avatar
      f42c58d2
    • Manman Ren's avatar
      Update testing case for r200806. · 81f136f9
      Manman Ren authored
      llvm-svn: 200807
      81f136f9
    • Manman Ren's avatar
      Fix wording of warning message about invalid debug info. · 3762808d
      Manman Ren authored
      llvm-svn: 200806
      3762808d
    • Rafael Espindola's avatar
      Add a test for common symbols in coff. · fb66ef05
      Rafael Espindola authored
      llvm-svn: 200803
      fb66ef05
  2. Feb 04, 2014
Loading