- Apr 29, 2014
-
-
Simon Atanasyan authored
llvm-svn: 207493
-
Todd Fiala authored
Tests for $vCont;c program start, $O output and $W status code. @llgs_test variant currently marked as expected fail. llvm-svn: 207492
-
Rui Ueyama authored
You usually have to specify the exact name of a symbol to export it, but for stdcall functions you can omit the @numbers suffix. llvm-svn: 207491
-
Alex McCarthy authored
llvm-svn: 207490
-
Adrian Prantl authored
llvm-svn: 207489
-
Richard Smith authored
llvm-svn: 207488
-
Chandler Carruth authored
requiring full control over the various parameters to the std::iterator concept / trait thing. This is a precursor for adjusting these things to where you can write a bidirectional iterator wrapping a random access iterator with custom increment and decrement logic. llvm-svn: 207487
-
Jordan Rose authored
This could happen due to unfortunate CFG coincidences. PR19579 llvm-svn: 207486
-
Hao Liu authored
E.g. Mask like <-1, -1, 1, ...> will generate incorrect EXT index. llvm-svn: 207485
-
Jordan Rose authored
PR19583 llvm-svn: 207484
-
Nico Weber authored
llvm-svn: 207483
-
Nico Weber authored
See the bug and the cfe-commits thread "[patch] Let stddef.h redefine NULL if __need_NULL is set" for discussion. Fixes PR12997 and is similar to the __need_wint_t bits already in this file. llvm-svn: 207482
-
Nick Kledzik authored
llvm-svn: 207481
-
Adrian Prantl authored
and no return expr at the end of the function. The "function has only simple returns" check in FinishFunction tests whether the number of simple return exprs equals the number of return exprs, but so far a fallthrough at the end of a function was not counted as a return, which would result in cleanup code being associated with the wrong source line. rdar://problem/16733984. llvm-svn: 207480
-
Ben Langmuir authored
llvm-svn: 207479
-
Jordan Rose authored
Patch by Anton Yartsev, modified by me. llvm-svn: 207478
-
Ben Langmuir authored
This patch checks whether the diagnostic options that could lead to errors (principally -Werror) are consistent between when a module was built and when it is loaded. If there are new -Werror flags, then the module is rebuilt. In order to canonicalize the options we do this check at the level of the constructed DiagnosticsEngine, which contains the final set of diag to diagnostic level mappings. Currently we only rebuild with the new diagnostic options, but we intend to refine this in the future to include the union of the new and old flags, since we know the old ones did not cause errors. System modules are only rebuilt when -Wsystem-headers is enabled. One oddity is that unlike checking language options, we don’t perform this diagnostic option checking when loading from a precompiled header. The reason for this is that the compiler cannot rebuild the PCH, so anything that requires it to be rebuilt effectively leaks into the build system. And in this case, that would mean the build system understanding the complex relationship between diagnostic options and the underlying diagnostic mappings, which is unreasonable. Skipping the check is safe, because these options do not affect the generated AST. You simply won’t get new build errors due to changed -Werror options automatically, which is also true for non-module cases. llvm-svn: 207477
-
Rui Ueyama authored
Implicit symbol for local use implemented in r207141 was not fully compatible with MSVC link.exe. In r207141, I implemented the feature in such way that implicit symbols are defined only when they are exported with /EXPORT option. After that I found that implicit symbols are defined not only for dllexported symbols but for all defined symbols. Actually _imp_ implicit symbols have no relationship with the dllexport feature. You could add _imp_ to any symbol to get a pointer to the symbol, whether the symbol is dllexported or not. It looks pretty weird to me but that's what we want if link.exe behaves that way. Here is a bit about the implementation: Creating all implicit symbols beforehand is going to be a huge waste of resource. This feature is rarely used, and MSVC link.exe even prints out a warning message when it finds this feature is being used. So we create implicit symbols on demand. There is an archive file that creates implicit symbols when they are needed. llvm-svn: 207476
-
Eric Christopher authored
opcode so there's no reason to use the target namespace for it rather than TargetOpcode. llvm-svn: 207475
-
Eric Christopher authored
llvm-svn: 207474
-
Eric Christopher authored
llvm-svn: 207473
-
Eric Christopher authored
llvm-svn: 207472
-
Chandler Carruth authored
clear it out. llvm-svn: 207471
-
Reid Kleckner authored
Patch by Martell Malone! Differential Revision: http://reviews.llvm.org/D3421 llvm-svn: 207470
-
Nick Kledzik authored
llvm-svn: 207469
-
Chandler Carruth authored
never actually compared for equality two pointer unions that were equal. Fortunately, things seem to work. =] llvm-svn: 207468
-
Nick Kledzik authored
Use return address register from CIE. Move DwarfInstructions::lastRestoreReg() to Register::lastDwarfRegNum(). llvm-svn: 207467
-
Chandler Carruth authored
llvm-svn: 207466
-
Chandler Carruth authored
around pointer types. llvm-svn: 207465
-
David Blaikie authored
Seems at some point the intent was to emit fission ranges_base as unique per CU but the code today emits ranges_base as the start of the ranges section for all CUs being compiled and all the ranges_base relative addresses are relative to that. So removing this dead code and leaving the status quo until there's a reason to change it (perhaps something's faster if it has distinct ranges for each CU). llvm-svn: 207464
-
Nick Kledzik authored
llvm-svn: 207463
-
Chandler Carruth authored
clang directly from the LLVM test suite! That doesn't work. I've followed up on the review thread to try and get a viable solution sorted out, but trying to get the tree clean here. llvm-svn: 207462
-
Alexey Samsonov authored
FrameEntry doesn't need to hold a reference to the section it is located in. Instead, pass DataExtractor as an argument of parsing function. No functionality change. llvm-svn: 207461
-
David Blaikie authored
Based on code review by Eric Christopher on r207323 llvm-svn: 207460
-
Alexey Samsonov authored
llvm-svn: 207459
-
David Blaikie authored
llvm-svn: 207458
-
Alexey Samsonov authored
There is no need to keep the whole contents of .debug_aranges section in memory when we build address ranges table. Memory optimization that used to be in this code (precalculate the size of vector of ranges before filling it) is not really needed - later we will compact and resize this vector anyway. llvm-svn: 207457
-
David Blaikie authored
(Clang doesn't warn here because it knows the string is benign - the assert still checks what it's intended to - though putting the correct parens does make clang-format format the code a little better) llvm-svn: 207456
-
Eric Christopher authored
Patch by Jan Vesely <jan.vesely@rutgers.edu>. llvm-svn: 207455
-
Paul Robinson authored
inputs to the preprocessor, check for invalid types first because not all linker inputs have an option value to retrieve. llvm-svn: 207454
-