[PATCH] D18325: export additional header modules from xmmintrin
    John Thompson via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Mar 22 11:41:26 PDT 2016
    
    
  
jtsoftware edited reviewers, added: rsmith; removed: probinson, silvas.
jtsoftware updated this revision to Diff 51313.
jtsoftware added a comment.
Right.  Also undoing moving stuff around.  How about this?  Thanks.
http://reviews.llvm.org/D18325
Files:
  lib/Headers/module.modulemap
  test/Headers/xmmintrin.c
Index: test/Headers/xmmintrin.c
===================================================================
--- test/Headers/xmmintrin.c
+++ test/Headers/xmmintrin.c
@@ -23,3 +23,7 @@
   return _mm_add_sd(__a, __b);
 }
 
+#if __STDC_HOSTED__
+// Make sure stdlib.h symbols are accessible.
+void *p = NULL;
+#endif
Index: lib/Headers/module.modulemap
===================================================================
--- lib/Headers/module.modulemap
+++ lib/Headers/module.modulemap
@@ -44,6 +44,7 @@
     }
 
     explicit module sse {
+      export mm_malloc
       export mmx
       export sse2 // note: for hackish <emmintrin.h> dependency
       header "xmmintrin.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18325.51313.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160322/fa5a48d2/attachment.bin>
    
    
More information about the cfe-commits
mailing list