- Sep 05, 2015
-
-
Sean Callanan authored
stores information about a variable that different parts of LLDB use, from the compiler-specific portion that only the expression parser cares about. http://reviews.llvm.org/D12602 llvm-svn: 246871
-
Adrian McCarthy authored
Sleep-and-retry after a failure to delete a log file, which may be because antimalware is holding the handle to the just-created file. Differential Revision: http://reviews.llvm.org/D12641 llvm-svn: 246870
-
Rui Ueyama authored
Previously, we calculated our own hash values for section contents. Of coruse that's slow because we had to access all bytes in sections. Fortunately, COFF objects usually contain hash values for COMDAT sections. We can use that to speed up Identical COMDAT Folding. llvm-svn: 246869
-
Davide Italiano authored
This was found while converting a test from macho-dump to llvm-readobj and will once I commit the converted test. llvm-svn: 246868
-
Evgeniy Stepanov authored
https://github.com/google/sanitizers/issues/353 llvm-svn: 246866
-
Yaron Keren authored
llvm-svn: 246865
-
Hans Wennborg authored
They might technically have external linkage, but it still doesn't make sense for the user to try and export such variables. This matches MSVC's and MinGW's behaviour. llvm-svn: 246864
-
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
-