- Mar 23, 2011
-
-
Devang Patel authored
llvm-svn: 128151
-
Devang Patel authored
Radar 9168773 llvm-svn: 128150
-
Anders Carlsson authored
llvm-svn: 128149
-
Douglas Gregor authored
string itself lives longer than the DelayedDiagnostic. Fixes a recent use-after-free regression due to my availability attribute work. llvm-svn: 128148
-
Douglas Gregor authored
all platforms, not just darwin. Fixes the regression in this test case. llvm-svn: 128147
-
Cameron Zwarich authored
that were hit in practice. llvm-svn: 128146
-
Jakob Stoklund Olesen authored
The register allocator needs to know when the range shrinks. llvm-svn: 128145
-
Jakob Stoklund Olesen authored
Empty ranges may represent undef values. llvm-svn: 128144
-
Jakob Stoklund Olesen authored
llvm-svn: 128143
-
Chris Lattner authored
llvm-svn: 128142
-
Chris Lattner authored
llvm-svn: 128141
-
Anders Carlsson authored
A global variable with internal linkage where all uses are in one function and whose address is never taken is a non-escaping local object and can't alias anything else. llvm-svn: 128140
-
Ted Kremenek authored
Fix crash in clang_getInstantiationLoc() when SourceManager::getInstantiationLoc() can return a SourceLocatin with an invalid FileID on invalid code. Fixes <rdar://problem/9164623>. llvm-svn: 128139
-
Ted Kremenek authored
llvm-svn: 128138
-
Stephen Wilson authored
llvm-svn: 128137
-
Stephen Wilson authored
llvm-svn: 128136
-
Stephen Wilson authored
The makefile build uses scripts/generate-vers.pl to build an appropriate LLDB_vers.c file. The declarations for these symbols now carry a liblldb_core prefix so update the script to generate the correct names. llvm-svn: 128135
-
Stephen Wilson authored
llvm-svn: 128134
-
Stephen Wilson authored
Start putting linux specific host code in its own directory. For now, just implement Host::GetOSVersion. llvm-svn: 128133
-
Andrew Trick authored
I'm tired of doing this manually for each checkout. If anyone knows a better way debug isel for non-trivial tests feel free to revert and let me know how to do it. llvm-svn: 128132
-
rdar://problem/9173060Johnny Chen authored
test suite: lldb hangs while running unique-types llvm-svn: 128131
-
Douglas Gregor authored
kind, and fix serialization/deserialization of IdentifierInfo attributes. These are requires for the new 'availability' attribute. llvm-svn: 128130
-
Ken Dyck authored
CharUnits. No change in functionality intended. llvm-svn: 128129
-
Stephen Wilson authored
Add a few missing virtual methods to PlatformLinux and have it register itself with PluginManager. llvm-svn: 128128
-
Douglas Gregor authored
which versions of an OS provide a certain facility. For example, void foo() __attribute__((availability(macosx,introduced=10.2,deprecated=10.4,obsoleted=10.6))); says that the function "foo" was introduced in 10.2, deprecated in 10.4, and completely obsoleted in 10.6. This attribute ties in with the deployment targets (e.g., -mmacosx-version-min=10.1 specifies that we want to deploy back to Mac OS X 10.1). There are several concrete behaviors that this attribute enables, as illustrated with the function foo() above: - If we choose a deployment target >= Mac OS X 10.4, uses of "foo" will result in a deprecation warning, as if we had placed attribute((deprecated)) on it (but with a better diagnostic) - If we choose a deployment target >= Mac OS X 10.6, uses of "foo" will result in an "unavailable" warning (in C)/error (in C++), as if we had placed attribute((unavailable)) on it - If we choose a deployment target prior to 10.2, foo() is weak-imported (if it is a kind of entity that can be weak imported), as if we had placed the weak_import attribute on it. Naturally, there can be multiple availability attributes on a declaration, for different platforms; only the current platform matters when checking availability attributes. The only platforms this attribute currently works for are "ios" and "macosx", since we already have -mxxxx-version-min flags for them and we have experience there with macro tricks translating down to the deprecated/unavailable/weak_import attributes. The end goal is to open this up to other platforms, and even extension to other "platforms" that are really libraries (say, through a #pragma clang define_system), but that hasn't yet been designed and we may want to shake out more issues with this narrower problem first. Addresses <rdar://problem/6690412>. As a drive-by bug-fix, if an entity is both deprecated and unavailable, we only emit the "unavailable" diagnostic. llvm-svn: 128127
-
Ken Dyck authored
CharUnits. No change in functionality intended. llvm-svn: 128126
-
Johnny Chen authored
Failures were due to new commands introduced. llvm-svn: 128125
-
Johnny Chen authored
llvm-svn: 128124
-
Greg Clayton authored
platform connect <args> platform disconnect Each platform can decide the args they want to use for "platform connect". I will need to add a function that gets the connect options for the current platform as each one can have different options and argument counts. Hooked up more functionality in the PlatformMacOSX and PlatformRemoteiOS. Also started an platform agnostic PlatformRemoteGDBServer.cpp which can end up being used by one or more actual platforms. It can also be specialized and allow for platform specific commands. llvm-svn: 128123
-
Johnny Chen authored
Change inspired by llvm-bug 9530 submitted by Jyun-Yan You. llvm-svn: 128122
-
John McCall authored
on previous block parameters that crept in as part of my captures work a month or so ago. llvm-svn: 128121
-
Johnny Chen authored
A8.6.292 VCMPE llvm-svn: 128120
-
Devang Patel authored
llvm-svn: 128119
-
John McCall authored
llvm-svn: 128118
-
- Mar 22, 2011
-
-
Owen Anderson authored
This fixes kimwitu++, bullet, and tramp3dv4 with the ARM integrated assembler. Fixes <rdar://problem/9165738>. llvm-svn: 128117
-
Greg Clayton authored
that Stephen Wilson sent out. llvm-svn: 128116
-
Caroline Tice authored
More fixes for ARM instruction emulation code: - Remove duplicate write from EmulateLDRRtPCRelative. - Add a missing encoding to EmulateADDSPImm. - Fix minor problems in Thumb instruction tables. llvm-svn: 128115
-
Jakob Stoklund Olesen authored
This will extend the ranges of debug info variables in registers until they are clobbered. Fix 1: Don't mistake DBG_VALUE instructions referring to incoming arguments on the stack with DBG_VALUE instructions referring to variables in the frame pointer. This fixes the gdb test-suite failure. Fix 2: Don't trace through copies to physical registers setting up call arguments. These registers are call clobbered, and the source register is more likely to be a callee-saved register that can be extended through the call instruction. llvm-svn: 128114
-
Johnny Chen authored
We now tag them as IndexModePost. This fixed http://llvm.org/bugs/show_bug.cgi?id=9530. llvm-svn: 128113
-
Devang Patel authored
llvm-svn: 128112
-