- Feb 13, 2014
-
-
NAKAMURA Takumi authored
libclangTests.exe cannot find libclang.dll since it is not on $PATH. llvm-svn: 201348
-
Dmitri Gribenko authored
pointed out by Daniel Jasper in r201329 llvm-svn: 201346
-
Daniel Sanders authored
Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call Summary: AsmPrinter::EmitInlineAsm() will no longer use the EmitRawText() call for targets with mature MC support. Such targets will always parse the inline assembly (even when emitting assembly). Targets without mature MC support continue to use EmitRawText() for assembly output. The hasRawTextSupport() check in AsmPrinter::EmitInlineAsm() has been replaced with MCAsmInfo::UseIntegratedAs which when true, causes the integrated assembler to parse inline assembly (even when emitting assembly output). UseIntegratedAs is set to true for targets that consider any failure to parse valid assembly to be a bug. Target specific subclasses generally enable the integrated assembler in their constructor. The default value can be overridden with -no-integrated-as. All tests that rely on inline assembly supporting invalid assembly (for example, those that use mnemonics such as 'foo' or 'hello world') have been updated to disable the integrated assembler. Changes since review (and last commit attempt): - Fixed test failures that were missed due to configuration of local build. (fixes crash.ll and a couple others). - Fixed tests that happened to pass because the local build was on X86 (should fix 2007-12-17-InvokeAsm.ll) - mature-mc-support.ll's should no longer require all targets to be compiled. (should fix ARM and PPC buildbots) - Object output (-filetype=obj and similar) now forces the integrated assembler to be enabled regardless of default setting or -no-integrated-as. (should fix SystemZ buildbots) Reviewers: rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2686 llvm-svn: 201333
-
Daniel Jasper authored
This triggers on one of our internal tests. Dmitri: I do not understand this part of the codebase well enough to locate the underlying cause easily. If the correct fix is not obvious, I can try to debug the problem further or try to come up with reduced test case. llvm-svn: 201329
-
Daniel Jasper authored
For reference: llvm.org/PR18690. Also updated generated help page and page creation script. llvm-svn: 201323
-
NAKAMURA Takumi authored
llvm-svn: 201319
-
Tim Northover authored
This changes ARM to use @llvm.fabs for floating-point vabs. Patterns already existed in the backend, and it might help mid-end phases since it's more likely to be understood than @llvm.arm.neon.vabs. llvm-svn: 201313
-
Robert Lytton authored
llvm-svn: 201312
-
Robert Lytton authored
see 'XCore target -fexceptions flag handling' llvm-svn: 201311
-
Robert Lytton authored
XCore target has -fno-exception as the default option Pass on "-fexceptions" flag to xcc (linker) llvm-svn: 201310
-
Renato Golin authored
llvm-svn: 201309
-
Renato Golin authored
This commit is not strictly correct nor accounts for all uses (shared objects, for example), but it allows one to test the compiler-rt library on GNU targets. Using this patch to run the test-suite has already shown me problems on ARM. Since this is a Darwin-only flag, nobody is using it, so it shouldn't be a problem. I will need extension to deal with the shared cases, but since we're not compiling libclang_rt.so, that's not yet applicable. Many other problems will have to be fixed first in compiler-rt (such as removing the 'arch' name from it and making it trully multi-arch, moving it to the default lib directory, make both .a and .so variants, etc). llvm-svn: 201307
-
Alexey Bataev authored
llvm-svn: 201297
-
Aaron Ballman authored
There is no std namespace for standards-based attributes. Removing the scope qualifier and updating the only affected test case. llvm-svn: 201294
-
Rafael Espindola authored
llvm-svn: 201293
-
Rafael Espindola authored
llvm-svn: 201290
-
Yunzhong Gao authored
According to the GNU docs, zero-sized bitfields should not be affected by the packed attribute. Differential Revision: http://llvm-reviews.chandlerc.com/D2693 llvm-svn: 201288
-
Reid Kleckner authored
llvm-svn: 201285
-
John McCall authored
useBitFieldTypeAlignment() and appears to ignore the special bit-packing semantics of __attribute__((packed)). Further flesh out an already-extensive comment. llvm-svn: 201282
-
John McCall authored
llvm-svn: 201281
-
Reid Kleckner authored
llvm-svn: 201280
-
Reid Kleckner authored
llvm-svn: 201278
-
Reid Kleckner authored
llvm-svn: 201276
-
Reid Kleckner authored
These features are new in VS 2013 and are necessary in order to layout std::ostream correctly. Currently we have an ABI incompatibility when self-hosting with the 2013 stdlib in our convertible_fwd_ostream wrapper in gtest. This change adds another implicit attribute, MSVtorDispAttr, because implicit attributes are currently the best way to make sure the information stays on class templates through instantiation. Reviewers: majnemer Differential Revision: http://llvm-reviews.chandlerc.com/D2746 llvm-svn: 201274
-
- Feb 12, 2014
-
-
Hans Wennborg authored
We don't support using the MS ABI with non-x86/x86_64 targets anyway. llvm-svn: 201260
-
Benjamin Kramer authored
llvm-svn: 201257
-
Jordan Rose authored
This avoids linking in extra copies of, say, LLVMSupport. llvm-svn: 201256
-
David Majnemer authored
Allowing alignment past this point causes wrap around within clang. N.B. GCC has the same restriction. llvm-svn: 201254
-
Reid Kleckner authored
llvm-svn: 201251
-
Adrian Prantl authored
llvm-svn: 201250
-
Dmitri Gribenko authored
This commit improves libclang to report the error condition when CXTranslationUnit can not be created because of a stale PCH file. This allows the caller, for example, to rebuild the PCH file and retry the request. There two are APIs in libclang that return a CXTranslationUnit and don't support reporting detailed errors (the only error condition is a NULL result). For these APIs, a second, superior, version is introduced -- clang_createTranslationUnit2 and clang_parseTranslationUnit2. These functions return a CXTranslationUnit indirectly and also return an error code. Old functions are still supported and are nothing more than convenience wrappers that ignore extended error codes. As a cleanup, this commit also categorizes some libclang errors in the functions I had to modify anyway. llvm-svn: 201249
-
Adrian Prantl authored
information provided in the referenced radar. llvm-svn: 201248
-
Adrian Prantl authored
This reverts commit r201183. The test, albeit undocumented and badly written is still testing something useful. It will be updated in a subsequent commit. llvm-svn: 201247
-
Reid Kleckner authored
llvm-svn: 201246
-
Daniel Sanders authored
Revert r201237+r201238: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call It introduced multiple test failures in the buildbots. llvm-svn: 201241
-
Daniel Sanders authored
llvm-svn: 201238
-
Dmitri Gribenko authored
llvm-svn: 201236
-
Tim Northover authored
llvm-svn: 201234
-
Tim Northover authored
rdar://problem/16035743 llvm-svn: 201233
-
Tim Northover authored
Previously, range checking on the __builtin_neon_XYZ_v Clang intrinsics didn't take account of the type actually passed to the call, which meant a request like "vext_s16(a, b, 7)" was allowed through (TableGen was conservative and allowed 0-7 for all types). This caused an assert in the backend because the lane doesn't make sense. llvm-svn: 201232
-