Skip to content
  1. Jul 31, 2013
    • Chandler Carruth's avatar
      Find a better compromise with the default library search paths used by · 7f8042c8
      Chandler Carruth authored
      Clang when linking and using a GCC installation from a GCC
      cross-compiler.
      
      This was desired already by two special case platforms (Android and
      Mips), and turns out to be generally (if frustratingly) true. I've added
      a substantial comment to the code clarifying the underlying assumptions
      of doing actual cross compiles with Clang (or GCC for that matter!) and
      help avoid further confusion here.
      
      The end result is to realize that fully general form of PR12478 cannot
      be resolved while we support existing cross-compiling GCC toolchains,
      and linking with them (namely, linking against their libgcc and
      libstdc++ installs). GCC installs these target libraries under
      a target-specific prefix but one that may not be available within the
      actual sysroot in use. When linking in this world, GCC works and Clang
      should as well, but caveat emptor: DSOs from this tree must be
      replicated and rpath-fixed to be found at runtime within the sysroot.
      
      I've extended the cross compile test cases to cover these issues by
      pointing them at a sysroot and actually checking the library search
      paths.
      
      llvm-svn: 187466
      7f8042c8
  2. Jul 30, 2013
  3. Jul 29, 2013
  4. Jul 28, 2013
  5. Jul 27, 2013
    • Hans Wennborg's avatar
      Fix test/Driver/cl.c. · 94478097
      Hans Wennborg authored
      This test would fail in weird ways on systems with a one-letter filename
      in the root directory, because the shell would helpfully expand /? to e.g. /n.
      
      Make sure this doesn't happen by adding quotes.
      
      llvm-svn: 187295
      94478097
    • Hans Wennborg's avatar
      clang-cl: add support for the /? and /help options · 6ddc6901
      Hans Wennborg authored
      This establishes a new Flag in Options.td, which can be assigned to
      options that should be made available in clang's cl.exe compatible
      mode, and updates the Driver to make use of the flag.
      
      (The whitespace change to CMakeLists forces the build to re-run CMake
       and pick up the include dependency on the new .td file. This makes the
       build work if someone moves backwards in commit history after this change.)
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1215
      
      llvm-svn: 187280
      6ddc6901
  6. Jul 26, 2013
  7. Jul 25, 2013
    • David Blaikie's avatar
      Don't forward all assembler arguments untouched to -cc1as · 9260ed6c
      David Blaikie authored
      Use the same filtering for assembly arguments to -cc1as as we do for
      -cc1, this allows a consistent (& more useful) diagnostic experience for
      users (rather than getting an error from -cc1as (which a user shouldn't
      really be thinking about) about --foo, they get an error from clang
      about --foo in -Wa,)
      
      I'm sort of surprised by the separation of -cc1as & the separate
      argument handling, etc, but at least this removes a little bit of the
      duplication.
      
      llvm-svn: 187156
      9260ed6c
  8. Jul 24, 2013
  9. Jul 23, 2013
  10. Jul 19, 2013
  11. Jul 18, 2013
  12. Jul 16, 2013
  13. Jul 04, 2013
  14. Jul 03, 2013
  15. Jun 27, 2013
  16. Jun 26, 2013
Loading