1. May 31, 2014
    • Todd Fiala's avatar
      gdb-remote signal delivery test cleanup. · 9c00cf55
      Todd Fiala authored
      Learned that MacOSX only accepts signal delivery on a thread that is
      already signal handling.  Reworked the test exe to cause a SIGSEGV
      and recover if either nothing intercepts the SIGSEGV handler, or
      if a SIGUSR1 is inserted.  The test uses the latter part to test
      signal delivery on continue using the SIGUSR1.
      
      I still don't have this working on MacOSX.  I'm seeing the
      signal get delivered to a different thread than the one I'm
      specifying with $Hc{thread-id} + $C{signo}, or with
      $vCont;C{signo}:{thread-id};c.  I'll come back to this
      after getting it working on the llgs branch on Linux x86_64.
      
      llvm-svn: 209912
      9c00cf55
    • Ben Langmuir's avatar
      Revert "Invalidate the file system cache entries for files that may rebuild" · e45b4e32
      Ben Langmuir authored
      This reverts commit r209910, which is breaking some of the bots.
      
      llvm-svn: 209911
      e45b4e32
    • Ben Langmuir's avatar
      Invalidate the file system cache entries for files that may rebuild · 04b9c70d
      Ben Langmuir authored
      I thought we could get away without this, but it means that the
      FileEntry objects actually refer to the wrong files, since pcms are not
      updated inplace, they are atomically renamed into place after compiling
      a module.
      
      So we are close to the original behaviour of invalidating the cache for
      all modules being removed, but now we should only invalidate the ones
      that depend on whichever module failed to load.
      
      Unfortunately I haven't come up with a new test that didn't require
      a race between parallel invocations of clang.
      
      <rdar://problem/17038180>
      
      llvm-svn: 209910
      04b9c70d
    • Nico Weber's avatar
      Let libc++abi compile with gcc. · 897f23dd
      Nico Weber authored
      There was a single problem in cxa_demangle.cpp, where gcc would complain
      `error: changes meaning of 'String'` about the line `typedef String String;`.
      According to 3.3.7p2, this diagnostic is allowed (but not required, so clang
      does not have to report this).
      
      As a fix, make string_pair a template and pass String as template parameter.
      This fixes the error with gcc and also removes some repetition from the code. 
      
      No behavior change.
      
      llvm-svn: 209909
      897f23dd
    • Hans Wennborg's avatar
      Start adding support for dllimport/dllexport on classes (PR11170) · 853ae946
      Hans Wennborg authored
      This implements the central part of support for dllimport/dllexport on
      classes: allowing the attribute on class declarations, inheriting it
      to class members, and forcing emission of exported members. It's based
      on Nico Rieck's patch from http://reviews.llvm.org/D1099.
      
      This patch doesn't propagate dllexport to bases that are template
      specializations, which is an interesting problem. It also doesn't
      look at the rules when redeclaring classes with different attributes,
      I'd like to do that separately.
      
      Differential Revision: http://reviews.llvm.org/D3877
      
      llvm-svn: 209908
      853ae946
    • Logan Chien's avatar
      Fix MIPS exception personality encoding. · c0029810
      Logan Chien authored
      For MIPS, we have to encode the personality routine with
      an indirect pointer to absptr; otherwise, some link warning
      warning will be raised, and the program might crash in some
      early MIPS Android device.
      
      llvm-svn: 209907
      c0029810
    • Fariborz Jahanian's avatar
      Objective-C. Diagnose assigning a block pointer type to · b3a70687
      Fariborz Jahanian authored
      an Objective-C object type other than 'id'. 
      // rdar://16739120
      
      llvm-svn: 209906
      b3a70687
    • Tim Northover's avatar
      MachO: move test to ARM directory. · 0ae08a84
      Tim Northover authored
      This test specifies an ARM triple, so it needs ARM as a registered
      target.
      
      llvm-svn: 209905
      0ae08a84
  2. May 30, 2014