diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-05-14 00:45:20 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-05-14 00:45:20 +0000 |
| commit | 23d8d0338e9878294dc16c78c1190be2245509d5 (patch) | |
| tree | 8db61f6bd5e50e00bda6b777acd23d0b902e212a /clang/test/Headers/Inputs/include/stdlib.h | |
| parent | a0334a9277fa450f74ae0f99fa4e0850cf12641c (diff) | |
| download | bcm5719-llvm-23d8d0338e9878294dc16c78c1190be2245509d5.tar.gz bcm5719-llvm-23d8d0338e9878294dc16c78c1190be2245509d5.zip | |
[modules] Fix a #include cycle when building a module for our builtin headers.
xmmintrin.h includes emmintrin.h and vice versa if SSE2 is enabled. We break
this cycle for a modules build, and instead make the xmmintrin.h module
re-export the immintrin.h module. Also included is a fix for an assert in the
serialization code if a module exports another module that was declared later
in the same module map.
llvm-svn: 237321
Diffstat (limited to 'clang/test/Headers/Inputs/include/stdlib.h')
| -rw-r--r-- | clang/test/Headers/Inputs/include/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Headers/Inputs/include/stdlib.h b/clang/test/Headers/Inputs/include/stdlib.h new file mode 100644 index 00000000000..296b6239f67 --- /dev/null +++ b/clang/test/Headers/Inputs/include/stdlib.h @@ -0,0 +1,2 @@ +#pragma once +typedef __SIZE_TYPE__ size_t; |

