Permalink
Commits on Aug 19, 2017
  1. Merge pull request #2279 from kinke/cmake2

    [MSVC] CMake: Prepare for LLVM 5.0
    kinke committed on GitHub Aug 19, 2017
Commits on Aug 18, 2017
  1. AppVeyor: Switch to previous VS2017 image for x64 and test VS2015 for…

    … x86
    kinke committed Aug 18, 2017
  2. New spirv and 6.0 compilation fixes (#2276)

    Update to a new SPIRV-LLVM and fix compilation issues for LLVM6.0
    thewilsonator committed on GitHub Aug 18, 2017
Commits on Aug 17, 2017
  1. CMake: Separate compiling & linking for !LDC_LINK_MANUALLY too

    One advantage is that the D modules aren't recompiled if only .cpp files
    have been modified.
    
    Another advantage is that the 2 separate command lines are shorter than
    the single combined one, preventing issues on Windows wrt. max command
    line length.
    kinke committed Aug 17, 2017
  2. [MSVC] CMake: Prepare for LLVM 5.0

    Some LLVM libs were missing from the linker flags for current LLVM 5.0.
    It was only during troubleshooting that I noticed the MSVC special case in
    FindLLVM.cmake. Getting rid of it entirely made the issues disappear. I
    checked llvm-config.exe, and it's returning appropriate switches for the
    MS toolchain, no need for special processing.
    
    This apparently also leads to LLVM_CXXFLAGS being used for the first time
    when building with MSVC. These include /W4, a level further up from
    CMake's default /W3, so I disabled a few more frequent warnings.
    
    I also had to link in a lib from Microsoft's Debug Info Access SDK
    manually. As the VS command prompt unfortunately doesn't even include the
    DIA SDK dir in the LIBPATH environment variable, I even had to specify a
    full path, relying on the `VSINSTALLDIR` environment variable.
    kinke committed Aug 17, 2017
  3. Lit: stop using `%T` and use `%t-dir` instead. (#2277)

    The %T substitution will be removed from Lit.
    Resolves issue #2274
    JohanEngelen committed with kinke Aug 17, 2017
Commits on Aug 16, 2017
  1. Update LLVM6.0 profile-rt, svn rev 311040

    JohanEngelen committed Aug 16, 2017
Commits on Aug 14, 2017
  1. Update LLVM6.0 profile-rt

    JohanEngelen committed Aug 14, 2017
  2. LLVM reverted the change that required these version specific changes. (

    JohanEngelen committed on GitHub Aug 14, 2017
Commits on Aug 13, 2017
  1. CMake: Include D source files in Visual Studio project (#2272)

    kinke committed on GitHub Aug 13, 2017
Commits on Aug 12, 2017
  1. AppVeyor: Use LDC-LLVM 4.0.1 (#2270)

    Incl. support for Android TLS and CodeView D language.
    Built with Visual Studio 2017 this time.
    kinke committed on GitHub Aug 12, 2017
  2. Don't use -m32/-m64 for external ARM assembler (#2264)

    And merge the two out-of-sync copies for adding gcc target flags. The flag
    was omitted for gcc as linker already, but not for gcc as external assembler.
    kinke committed on GitHub Aug 12, 2017
  3. Replace hacky disabling of fp-elimination for functions with inline a…

    …sm (#2266)
    
    ... by proper function attributes. Clang sets these 2 attributes if frame
    pointer elimination is to be fully disabled.
    kinke committed on GitHub Aug 12, 2017
  4. AppVeyor: Fix issue 1876 - use LDC 1.3.0 instead of 1.0.0 (#2268)

    rainers committed with kinke Aug 12, 2017
Commits on Aug 11, 2017
  1. Fix issue #2235 - IR struct packedness (#2247)

    Unnaturally aligned aggregates were potentially not marked as packed,
    leading to LLVM inserting additional padding and screwing up the memory
    layout.
    kinke committed on GitHub Aug 11, 2017
Commits on Aug 9, 2017
  1. Add the -fsanitize-blacklist option for the sanitizers. (#2261)

    Blacklisting is necessary for some druntime functions, and LLVM/Clang already provides just the right functionality.
    JohanEngelen committed on GitHub Aug 9, 2017
Commits on Aug 7, 2017
  1. Update druntime (trivial changes to ldc.attributes)

    JohanEngelen committed Aug 7, 2017
Commits on Aug 5, 2017
  1. {core,std}.math: Remove gratuitous LDC-specifics & streamline @safety

    kinke committed Aug 5, 2017
  2. Merge pull request #2253 from kinke/build-ldc-runtime

    Replace build-ldc-runtime.sh script by D tool
    joakim-noah committed on GitHub Aug 5, 2017
  3. ldc-build-runtime: Add --reset switch for resetting the build directory

    kinke committed Aug 4, 2017
Commits on Aug 4, 2017
  1. CircleCI: Adapt LLVM APT repo (#2251)

    kinke committed on GitHub Aug 4, 2017
  2. Merge pull request #2207 from kinke/appveyorHostCompilers

    Switch to special quiet NaN as init value for all FP types
    kinke committed on GitHub Aug 4, 2017
  3. Fix a few compiler warnings (#2248)

    * Remove default label in switch which covers all enumeration values.
    
    This fixes the warning "default label in switch which covers all enumeration values". We will already get a warning when _not_ all enumeration values are covered.
    This is the last warning left on OSX/Clang, so with this change, we can build with -Werror.
    
    * Fix warning: enumeral and non-enumeral type in conditional expression
    
    * Fix warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 5
    
    * "fallthrough" is recognized by the compiler warning system
    JohanEngelen committed on GitHub Aug 4, 2017
Commits on Aug 3, 2017
  1. ldc-build-runtime: Fix download URL for manual builds from untagged src

    kinke committed Aug 3, 2017
  2. ldc-build-runtime: Add -j switch for #parallel build jobs

    kinke committed Aug 3, 2017
  3. Add defaults to build-ldc-runtime help message

    JohanEngelen committed on GitHub Aug 3, 2017
  4. Add test for multiple -fsanitize parameters (#2258)

    JohanEngelen committed on GitHub Aug 3, 2017
Commits on Jul 31, 2017
  1. Runtime CMake: Move test_runner.o in front of linker args

    The main object apparently needs to come first for TLS on Android.
    kinke committed Jul 30, 2017
  2. Replace build-ldc-runtime.sh script by D tool

    Primarily for portability (Windows) and to pave the way for a simpler
    interface. Already comes with ninja and testrunners support and a
    consistent command-line interface wrt. D/C/linker flags.
    
    To be used like this:
    
    bin\build-ldc-runtime [--ldcSrcDir=..\ldc] [--ninja] [--testrunners]
    [--dFlags=-mtriple=x86_64-pc-windows-msvc;...] [--cFlags=...]
    [--linkerFlags=...] [CMAKE_VAR=value ...]
    kinke committed Jul 30, 2017