Skip to content
  1. Oct 17, 2012
    • David Blaikie's avatar
      PR13684: Emit vtable entries for deleted functions as __cxa_deleted_function. · eb7d598c
      David Blaikie authored
      This is consistent/interoperable with GCC 4.7 (& __cxa_deleted_function isn't
      present in 4.4 - not sure when it got added, but you'll need something with
      that function available for this to work).
      
      llvm-svn: 166069
      eb7d598c
    • Derek Schuff's avatar
      Add pnaclcall convention to Native Client targets. · a202096d
      Derek Schuff authored
      Because PNaCl bitcode must be target-independent, it uses some
      different bitcode representations from other targets (e.g. byval and
      sret for structures). This means that without additional type
      information, it cannot meet some native ABI requirements for some
      targets (e.g. passing structures containing unions by value on
      x86-64). To allow generation of code which uses the correct native
      ABIs, we also support triples such as x86_64-nacl, which uses
      target-dependent IR (as opposed to le32-nacl, which uses byval and
      sret).
      
      To allow interoperation between the two types of code, this patch adds
      a calling convention attribute to be used in code compiled with the
      target-dependent triple, which will generate code using the le32-style
      bitcode. This calling convention does not need to be explicitly
      supported in the backend because it determines bitcode representation
      rather than native conventions (the backend just needs to undersand
      how to handle byval and sret for the Native Client OS).
      
      This patch implements __attribute__((pnaclcall)) to generate calls in
      bitcode according to the le32 bitcode conventions, an attribute which
      is accepted by any Native Client target, but issues a warning
      otherwise.
      
      llvm-svn: 166065
      a202096d
  2. Oct 16, 2012
  3. Oct 15, 2012
  4. Oct 14, 2012
  5. Oct 13, 2012
  6. Oct 12, 2012
    • Bill Schmidt's avatar
      This patch addresses PR13948. · 84d37798
      Bill Schmidt authored
      For 64-bit PowerPC SVR4, an aggregate containing only one
      floating-point field (float, double, or long double) must be passed in
      a register as though just that field were present.  This patch
      addresses the issue during Clang code generation by specifying in the
      ABIArgInfo for the argument that the underlying type is passed
      directly in a register.  The included test case verifies flat and
      nested structs for the three data types.
      
      llvm-svn: 165816
      84d37798
  7. Oct 11, 2012
  8. Oct 10, 2012
  9. Oct 09, 2012
  10. Oct 08, 2012
Loading