- Apr 07, 2012
-
-
Alexis Hunt authored
by default. This is a behaviour configurable in the MCAsmInfo. I've decided to turn it on by default in (possibly optimistic) hopes that most assemblers are reasonably sane. If this proves a problem, switching to default seems reasonable. I'm not sure if this is the opportune place to test, but it seemed good to make sure it was tested somewhere. llvm-svn: 154235
-
Sean Callanan authored
potential crash if the underlying type couldn't be completed. llvm-svn: 154234
-
Chad Rosier authored
However, the '-x' option has special handling and wasn't following this paradigm. Fix it to do so by claiming the arg as we parse the '-x' option. rdar://11203340 llvm-svn: 154231
-
Jim Ingham authored
We sometimes need to be able to call functions (via Process::RunThreadPlan) from code run on the private state thread. To do that we have to spin up a temporary "private state thread" that will respond to events from the lower level process plugins. This check-in should work to do that, but it is still buggy. However, if you don't call functions on the private state thread, these changes make no difference. This patch also moves the code in the AppleObjCRuntime step-through-trampoline handler that might call functions (in the case where the debug server doesn't support the memory allocate/deallocate packet) out to a safe place to do that call. llvm-svn: 154230
-
Daniel Dunbar authored
Windows users. llvm-svn: 154229
-
Daniel Dunbar authored
documentation. llvm-svn: 154228
-
Michael J. Spencer authored
llvm-svn: 154227
-
Jim Grosbach authored
llvm-svn: 154226
-
David Blaikie authored
In a few cases clang emitted a rather content-free diagnostic: 'parse error'. This change replaces two actual cases (template parameter parsing and K&R parameter declaration parsing) with more specific diagnostics and removes a third dead case of this in the BalancedDelimiterTracker (the ctor already checked the invariant necessary to ensure that the diag::parse_error was never actually used). llvm-svn: 154224
-
Sean Callanan authored
this file. llvm-svn: 154222
-
Sean Callanan authored
--start argument. Fixed that. llvm-svn: 154221
-
Fariborz Jahanian authored
llvm-svn: 154220
-
Douglas Gregor authored
template parameters of pointer, pointer-to-member, or nullptr_t type in C++11. Fixes PR9700 / <rdar://problem/11193097>. llvm-svn: 154219
-
Fariborz Jahanian authored
dictionary literals. This concludes // rdar://10803676 llvm-svn: 154218
-
Daniel Dunbar authored
llvm-svn: 154217
-
Ted Kremenek authored
Rework ExprEngine::evalLoad and clients (e.g. VisitBinaryOperator) so that when we generate a new ExplodedNode we use the same Expr* as the one being currently visited. This is preparation for transitioning to having ProgramPoints refer to CFGStmts. This required a bit of trickery. We wish to keep the old Expr* bindings in the Environment intact, as plenty of logic relies on it and there is no reason to change it, but we sometimes want the Stmt* for the ProgramPoint to be different than the Expr* being used for bindings. This requires adding an extra argument for some functions (e.g., evalLocation). This looks a bit strange for some clients, but it will look a lot cleaner when were start using CFGStmt* in the appropriate places. As some fallout, the diagnostics arrows are a bit difference, since some of the node locations have changed. I have audited these, and they look reasonable. llvm-svn: 154214
-
Daniel Dunbar authored
llvm-svn: 154213
-
- Apr 06, 2012
-
-
Daniel Dunbar authored
llvm-svn: 154212
-
Johnny Chen authored
llvm-svn: 154211
-
Jakob Stoklund Olesen authored
llvm-svn: 154210
-
Jakob Stoklund Olesen authored
After register masks were introdruced to represent the call clobbers, it is no longer necessary to have duplicate instruction for iOS. llvm-svn: 154209
-
Sean Callanan authored
the stress test by a LOT. llvm-svn: 154208
-
Daniel Dunbar authored
llvm-svn: 154207
-
Daniel Dunbar authored
- This uses the llvm-theme developed by Michael Spencer and the base structure (front-facing index page) I use for LNT. llvm-svn: 154206
-
Sean Callanan authored
new features: (1) it outputs the instruction currently being tested to a log file, if a path is provided (2) if instructed, it prints the time remaining in the exhaustive test llvm-svn: 154205
-
Benjamin Kramer authored
This method is very hot, it is called when emitting diagnostics, in -E mode and for many #pragma handlers. It scans through the whole source file to count newlines, records and caches them in a vector. The speedup from vectorization isn't very large, as we fall back to bytewise scanning when we hit a newline. There might be a way to avoid leaving the sse loop but everything I tried didn't work out because a call to push_back clobbers xmm registers. About 2% speedup on average on "clang -E > /dev/null" of all .cpp files in clang's lib/Sema. llvm-svn: 154204
-
Kostya Serebryany authored
llvm-svn: 154203
-
Akira Hatanaka authored
llvm-svn: 154202
-
Kostya Serebryany authored
llvm-svn: 154201
-
Simon Atanasyan authored
llvm-svn: 154200
-
Chandler Carruth authored
which exists for this purpose. llvm-svn: 154199
-
DeLesley Hutchins authored
Thread safety analysis: downgraded requirement that mutex expressions refer to a lockable type from error to warning. llvm-svn: 154198
-
Johnny Chen authored
Plus some minor cleanup of test method names. Third and final batch is coming. llvm-svn: 154197
-
Fariborz Jahanian authored
expressions. // rdar://10803676 llvm-svn: 154196
-
Simon Atanasyan authored
MIPS: Pass -EB/-EL argument to the assembler according to selected endian when compile for MIPS targets. llvm-svn: 154195
-
Jordy Rose authored
Patch by Sean McBride! llvm-svn: 154194
-
Matt Beaumont-Gay authored
llvm-svn: 154193
-
Sean Callanan authored
disassembler requires a MCSubtargetInfo and a MCInstrInfo to exist in order to initialize the instruction printer and disassembler; however, although the printer and disassembler keep references to these objects they do not own them. Previously, the MCSubtargetInfo and MCInstrInfo objects were just leaked. I have extended LLVMDisasmContext to own these objects and delete them when it is destroyed. llvm-svn: 154192
-
John McCall authored
global destructor entry. For some reason this isn't enabled for apple-kexts; it'd be good to have documentation for that. Based on a patch by Nakamura Takumi! llvm-svn: 154191
-
John McCall authored
llvm-svn: 154190
-