- Sep 05, 2015
-
-
Simon Pilgrim authored
llvm-svn: 246863
-
Peter Collingbourne authored
llvm-svn: 246862
-
Davide Italiano authored
llvm-svn: 246861
-
Aaron Ballman authored
llvm-svn: 246860
-
Hafiz Abid Qadeer authored
The call to ProcessWindowsLog::Initialize() is protected by #if defined(_MSC_VER). But the call to ProcessWindowsLog::Terminate() was using __WIN32__. This commit makes it use _MSC_VER too. Committing as it seems obvious change. llvm-svn: 246859
-
Hafiz Abid Qadeer authored
CMICmdArgValConsume::Validate was not removing it from the input stream. llvm-svn: 246858
-
Ed Schouten authored
If we build with -Werror=implicit-function-declaration, only implicit function declarations of non-library functions throw compiler errors. For library functions, we only produce a warning. There is no way to promote both of these cases to an error without promoting other warnings. It makes little sense to introduce an additional compiler flag just to control this specific warning. In my opinion it should just be part of the same group. llvm-svn: 246857
-
- Sep 04, 2015
-
-
Alexander Kornienko authored
IncludeDirectives struct used a StringRef that pointed to a stack variable (SmallString<128> FilenameBuffer from PPDirectives.cpp:1513). http://reviews.llvm.org/D12632 Patch by Marek Kurdej! llvm-svn: 246856
-
Ben Craig authored
Also, test commit llvm-svn: 246855
-
Alexander Kornienko authored
This fixes the case where the check should be added at the end of the list of checks in CMakeLists.txt of the corresponding module. Before it was added after LINK_LIBS line. http://reviews.llvm.org/D12629 Patch by Marek Kurdej! llvm-svn: 246854
-
Alexey Bataev authored
Some of instantiation-dependent expressions could cause false diagnostic to be emitted about unsupported atomic constructs. Relaxed rules for detection of incorrect expressions. llvm-svn: 246853
-
Tamas Berghammer authored
* Change Module::MatchesModuleSpec to return true in case the file spec in the specified module spec matches with the platform file spec, but not with the local file spec * Change the module_resolver used when resolving a remote shared module to always set the platform file spec to the file spec requested Differential revision: http://reviews.llvm.org/D12601 llvm-svn: 246852
-
Chad Rosier authored
llvm-svn: 246851
-
NAKAMURA Takumi authored
llvm-svn: 246850
-
NAKAMURA Takumi authored
clang/test/SemaCXX/sourceranges.cpp: Appease win32. Class method is thiscall for targeting i686-(msvc|mingw32). llvm-svn: 246849
-
Silviu Baranga authored
llvm-svn: 246848
-
Hafiz Abid Qadeer authored
1. To handle the expression with spaces, this command uses 2 arguments. For a case like -break-condition 1 i == 5, the first will pick the 'i' and second will pick the '== 5'. But the second argument was made mandatory which failed in cases when there was no space in the expression like i==5. 2. The function GetRestOfExpressionNotSurroundedInQuotes has 2 locals with the same names. It resulted in one hiding the other and this function always returned empty string. No regression on Linux. Committed as obvious. llvm-svn: 246847
-
http://llvm.org/PR24674Alexey Bataev authored
Fix processing of shared variables with reference types in OpenMP constructs. Previously, if the variable was not marked in one of the private clauses, the reference to this variable was emitted incorrectly and caused an assertion later. llvm-svn: 246846
-
Pavel Labath authored
llvm-svn: 246845
-
Olivier Goffart authored
llvm-svn: 246844
-
Pavel Labath authored
Summary: GetOptInc provides getopt(), getopt_long() and getopt_long_only(). Windows (for defined(_MSC_VER)) doesn't ship with all of the getopt(3) family members and needs all of them. NetBSD requires only getopt_long_only(3). While there fix the code for clang diagnostics. Author: Kamil Rytarowski Reviewers: joerg Subscribers: labath, zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D12582 llvm-svn: 246843
-
Ewan Crawford authored
Currently the RS breakpoint command can only find a kernel if it's in an already loaded RS module. This patch allows users to set pending breakpoints on RenderScript kernels which will be loaded in the future. Implemented by creating a RS breakpoint resolver, to limit search scope to only RS modules. Reviewed by: clayborg, jingham Subscribers: lldb-commits, ADodds, domipheus Differential Revision: http://reviews.llvm.org/D12360 llvm-svn: 246842
-
Abhishek Aggarwal authored
Summary: - Capability to force return user specified values from inside of a function on lldb command terminal - Support for Integral, Pointer and Floating Point values Signed-off-by:Abhishek Aggarwal <abhishek.a.aggarwal@intel.com> Reviewers: jingham, clayborg Subscribers: tberghammer Differential Revision: http://reviews.llvm.org/D12595 llvm-svn: 246841
-
David Majnemer authored
Casting to unsigned long can cause the time to get truncated to 32-bits, making it appear to be a valid timestamp. Just use isUInt<32> instead. llvm-svn: 246840
-
NAKAMURA Takumi authored
llvm-svn: 246839
-
NAKAMURA Takumi authored
llvm-svn: 246838
-
Richard Smith authored
llvm-svn: 246837
-
Richard Smith authored
should, rather than giving a broken value that doesn't even zero/sign-extend properly. llvm-svn: 246836
-
Alexey Bataev authored
Patch allows to recognize additional registers x8d, x8b, x8w - x15d, x15b, x15w in inline assembler, already recognized by backend Differential Revision: http://reviews.llvm.org/D12594 llvm-svn: 246835
-
Jason Molenda authored
ehframe_ & from gdb_ to stabs_ for clarity. Also document the fact that i386 eh_frame on Darwin has the register numbers swapped for ebp/esp from the DWARF register numbers so no one copies these defines for other i386 ABI plugins. This bug only ever existed on Darwin. No code changes, just renaming variables. llvm-svn: 246834
-
Steven Wu authored
Using generic neon syntax to avoid test failure on apple platforms. llvm-svn: 246833
-
Evgeniy Stepanov authored
The failure is caused by the missing implementation of array cookie poisoning in Clang for ARMCXXABI and has nothing to do with Android (and the test passes on Android/x86). llvm-svn: 246832
-
Evgeniy Stepanov authored
Due to a slightly different initialization order, syslog on android/x86 calls vsnprintf, which can not be handled until interceptors are initialized at least. llvm-svn: 246831
-
Richard Smith authored
simplify the implementation a bit. llvm-svn: 246830
-
Dawn Perchik authored
* Use the frame's context (instead of just the target's) when evaluating, so that the language of the frame's CU can be used to select the compiler and/or compiler options to use when parsing the expression. This allows for modules built with mixed languages to be parsed in the context of their frame. * Add all C and C++ language variants when determining the language options to set. * Enable C++ language options when language is C or ObjC as a workaround since the expression parser uses features of C++ to capture values. * Enable ObjC language options when language is C++ as a workaround for ObjC requirements. * Disable C++11 language options when language is C++03. * Add test TestMixedLanguages.py to check that the language being used for evaluation is that of the frame. * Fix test TestExprOptions.py to check for C++11 instead of C++ since C++ has to be enabled for C, and remove redundant expr --language test for ObjC. * Fix TestPersistentPtrUpdate.py to not require C++11 in C. Reviewed by: clayborg, spyffe, jingham Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11102 llvm-svn: 246829
-
Kostya Serebryany authored
[libFuzzer] when a single mutation fails try a few more times with other mutations before returning un-mutated data llvm-svn: 246828
-
Enrico Granata authored
Nuke CXXFormatterFunctions.cpp - split the contents of it across different files, so that things are better organized along the C++/ObjC line This is preparatory work for moving these formatters into language categories llvm-svn: 246827
-
Eric Christopher authored
llvm-svn: 246826
-
Kostya Serebryany authored
llvm-svn: 246825
-
Hal Finkel authored
This adds a basic cost model for interleaved-access vectorization (and a better default for shuffles), and enables interleaved-access vectorization by default. The relevant difference from the default cost model for interleaved-access vectorization, is that on PPC, the shuffles that end up being used are *much* cheaper than modeling the process with insert/extract pairs (which are quite expensive, especially on older cores). llvm-svn: 246824
-