| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Allowing alignment past this point causes wrap around within clang.
N.B. GCC has the same restriction.
llvm-svn: 201254
|
| |
|
|
|
|
| |
rdar://problem/16015314
llvm-svn: 201253
|
| |
|
|
|
|
| |
Also, fix incorrect syscall hooks for the corresponding syscalls.
llvm-svn: 201252
|
| |
|
|
| |
llvm-svn: 201251
|
| |
|
|
| |
llvm-svn: 201250
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
information provided in the referenced radar.
llvm-svn: 201248
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 201246
|
| |
|
|
|
|
|
|
| |
preserve branch probability information.
<rdar://problem/15893208>
llvm-svn: 201245
|
| |
|
|
|
|
|
| |
See http://llvm.org/bugs/show_bug.cgi?id=18816.
Likely the same issue as http://llvm.org/bugs/show_bug.cgi?id=18805.
llvm-svn: 201244
|
| |
|
|
| |
llvm-svn: 201243
|
| |
|
|
|
|
| |
BreakpointPrinter moves to its own module.
llvm-svn: 201242
|
| |
|
|
|
|
|
|
| |
AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call
It introduced multiple test failures in the buildbots.
llvm-svn: 201241
|
| |
|
|
| |
llvm-svn: 201240
|
| |
|
|
|
|
|
|
|
| |
This reverts commit r200413.
This was breaking the build on systems where the python 2.x executable
was called python.
llvm-svn: 201239
|
| |
|
|
|
|
| |
been in r201237.
llvm-svn: 201238
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Reviewers: rafael
Reviewed By: rafael
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2686
llvm-svn: 201237
|
| |
|
|
|
|
| |
argument
llvm-svn: 201236
|
| |
|
|
|
|
| |
It's called __wait4 there.
llvm-svn: 201235
|
| |
|
|
| |
llvm-svn: 201234
|
| |
|
|
|
|
| |
rdar://problem/16035743
llvm-svn: 201233
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
test/Modules/fmodules-validate-once-per-build-session.c
With -fdisable-module-hash, we can implement this with a simple 'cp'.
llvm-svn: 201231
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I found that swapping the order of some header files helped fix a
build issue that we're seeing on mingw32. Without the swap, windows.h
was being included before _WIN32_WINNT was being defined and the
CreateHardLinkW function was #ifdef'd out.
It looks like the header is mainly used to get the SHGetFolderPathW
function, so I don't think that there'll be much fallout from the
switch.
Suggested by Alex Crichton. Thanks!
llvm-svn: 201230
|
| |
|
|
|
|
|
|
|
|
|
| |
This macro depends on several variables to be set in the calling
context. Check them and report an error if they are not set.
Without this, custom commands may be silently specified that
will fail at build time.
Patch by Brad King.
llvm-svn: 201229
|
| |
|
|
|
|
|
|
| |
gnuwin32 with %/t (instead of %t).
xargs didn't handle dosish paths, while find foo\bar\ emits dosish paths.
llvm-svn: 201228
|
| |
|
|
|
|
|
| |
dosish pathsep.
FIXME: It could be more simple...
llvm-svn: 201227
|
| |
|
|
|
|
| |
more methods to the bit vectors
llvm-svn: 201226
|
| |
|
|
|
|
| |
source files for a module only once during)
llvm-svn: 201225
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the build
When Clang loads the module, it verifies the user source files that the module
was built from. If any file was changed, the module is rebuilt. There are two
problems with this:
1. correctness: we don't verify system files (there are too many of them, and
stat'ing all of them would take a lot of time);
2. performance: the same module file is verified again and again during a
single build.
This change allows the build system to optimize source file verification. The
idea is based on the fact that while the project is being built, the source
files don't change. This allows us to verify the module only once during a
single build session. The build system passes a flag,
-fbuild-session-timestamp=, to inform Clang of the time when the build started.
The build system also requests to enable this feature by passing
-fmodules-validate-once-per-build-session. If these flags are not passed, the
behavior is not changed. When Clang verifies the module the first time, it
writes out a timestamp file. Then, when Clang loads the module the second
time, it finds a timestamp file, so it can compare the verification timestamp
of the module with the time when the build started. If the verification
timestamp is too old, the module is verified again, and the timestamp file is
updated.
llvm-svn: 201224
|
| |
|
|
|
|
|
|
| |
armv8/Cortex-A53/A57.
This was caused by r200708 which enabled the crypto feature for these cores.
llvm-svn: 201223
|
| |
|
|
| |
llvm-svn: 201222
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: This patch depends on patches D2556 and D2557.
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits, jordan_rose, krememek
Differential Revision: http://llvm-reviews.chandlerc.com/D2620
llvm-svn: 201221
|
| |
|
|
| |
llvm-svn: 201220
|
| |
|
|
| |
llvm-svn: 201219
|
| |
|
|
|
|
| |
llvm-symbolizer is unavailable. Allow this mode in TSan.
llvm-svn: 201218
|
| |
|
|
| |
llvm-svn: 201217
|
| |
|
|
|
|
| |
all marked with isCodeGenOnly already.
llvm-svn: 201216
|
| |
|
|
|
|
| |
from the disassembler table build without custom filtering code.
llvm-svn: 201215
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Elf core files were collapsing core segments when the virtual memory
addresses were contiguous without checking if the core-file-backed
memory region was the same size as the segment's VMA region. Without
this extra check, any time regions were collapsed but the core-backed
region was smaller (and thus had a zero-filled hole at the end), the
collapse operation would break VMA to core file lookups for subsequent
collapsed regions.
This change fixes the following bug:
http://llvm.org/bugs/show_bug.cgi?id=18769
llvm-svn: 201214
|
| |
|
|
| |
llvm-svn: 201213
|
| |
|
|
| |
llvm-svn: 201212
|
| |
|
|
| |
llvm-svn: 201211
|
| |
|
|
| |
llvm-svn: 201210
|
| |
|
|
| |
llvm-svn: 201209
|
| |
|
|
|
| |
review: http://llvm-reviews.chandlerc.com/D2718
llvm-svn: 201208
|
| |
|
|
| |
llvm-svn: 201207
|
| |
|
|
| |
llvm-svn: 201206
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch improves the support for picking Multilibs from gcc installations.
It also provides a better approximation for the flags '-print-multi-directory'
and '-print-multi-lib'.
This reverts r201203 (i.e. re-applying r201202 with small fixes in
unittests/CMakeLists.txtto make the build bots happy).
review: http://llvm-reviews.chandlerc.com/D2538
llvm-svn: 201205
|