- Jun 07, 2013
-
-
David Blaikie authored
llvm-svn: 183454
-
rdar://problem/14083928Enrico Granata authored
Making sure that if you invoke LLDB as lldb ./someBinary you can then launch the inferior with process launch —tty llvm-svn: 183453
-
Jim Ingham authored
Address::GetSection() turns a weak pointer to a shared pointer which is a little slow. So in Address::operator== & != do the cheap GetOffset() comparison first and only compare the sections if that is true. llvm-svn: 183452
-
Anna Zaks authored
The function in which we were doing it used to be conditionalized. Add a new unconditional cleanup step. This fixes PR16227 (radar://14073870) - a crash when generating html output for one of the test files. llvm-svn: 183451
-
Anna Zaks authored
llvm-svn: 183450
-
- Jun 06, 2013
-
-
Jordan Rose authored
Previously our edges were completely broken here; now, the final result is a very simple set of edges in most cases: one up to the "for" keyword for context, and one into the body of the loop. This matches the behavior for ObjC for-in loops. In the AST, however, CXXForRangeStmts are handled very differently from ObjCForCollectionStmts. Since they are specified in terms of equivalent statements in the C++ standard, we actually have implicit AST nodes for all of the semantic statements. This makes evaluation very easy, but diagnostic locations a bit trickier. Fortunately, the problem can be generally defined away by marking all of the implicit statements as part of the top-level for-range statement. One of the implicit statements in a for-range statement is the declaration of implicit iterators __begin and __end. The CFG synthesizes two separate DeclStmts to match each of these decls, but until now these synthetic DeclStmts weren't in the function's ParentMap. Now, the CFG keeps track of its synthetic statements, and the AnalysisDeclContext will make sure to add them to the ParentMap. <rdar://problem/14038483> llvm-svn: 183449
-
Sean Callanan authored
reading non-standard value sizes. <rdar://problem/14081292> llvm-svn: 183448
-
Arnold Schwaighofer authored
Breaks linux build bots (I thought the problem was something else). llvm-svn: 183447
-
David Blaikie authored
Seems we emit the parameter ordering number (spuriously named 'arg number') in the debug info, so there's no need to search through the variable list to figure out the parameter ordering. This implementation does 'always' do the work, even in non-optimized debug info (the previous implementation checked the existence of the 'variables' list on the subprogram which is only present in optimized builds). No intended functionality change. llvm-svn: 183446
-
Arnold Schwaighofer authored
Reapply 183270. llvm-svn: 183445
-
Edwin Vane authored
First step toward supporting header modifications: adding a flag that turns on such modifications. Eventually header modifications will be on by default but until all the kinks can be worked out, they must be explicitly enabled. llvm-svn: 183444
-
Edwin Vane authored
Refactored how global options are passed to Transforms to avoid widespread changes every time a new global option is added. Tests updated to reflect new interface. llvm-svn: 183443
-
Kevin Enderby authored
binary that is used for the test. Caught by Jim Grosbach! rdar://11791371 llvm-svn: 183442
-
Arnold Schwaighofer authored
Reapply 183269. llvm-svn: 183441
-
Sean Callanan authored
condition in two different processes (with the same target) could cause crashes. Now the breakpoint condition is always evaluated (and possibly parsed) by one thread at a time. <rdar://problem/14083737> llvm-svn: 183440
-
Jakub Staszak authored
llvm-svn: 183439
-
Arnold Schwaighofer authored
Reapply 183268. llvm-svn: 183438
-
Argyrios Kyrtzidis authored
This avoids building libclang twice by default. llvm-svn: 183437
-
Arnold Schwaighofer authored
Reapply 183267. llvm-svn: 183436
-
Arnold Schwaighofer authored
Add more InstRW mappings. Reapply 183266. llvm-svn: 183435
-
Ashok Thirumurthi authored
that is patterned after its parent TestInferiorCrashing.py. - The xfail decorator limits the xfail to tool-chains that support this compiler option. - Included a TODO concerning the platform-specific behavior when 'next' is issued after a crash. - Toggling -fomit-frame-pointer results in an xpass as mentioned in pr15415. Thanks to Daniel for the review, and Samuel for the bug report and reproducer. llvm-svn: 183434
-
Rafael Espindola authored
llvm-svn: 183433
-
Arnold Schwaighofer authored
Reapply 183265. llvm-svn: 183432
-
Arnold Schwaighofer authored
Reapply 183264. llvm-svn: 183430
-
Sergey Matveev authored
llvm-svn: 183429
-
Arnold Schwaighofer authored
Reapply 183263. llvm-svn: 183428
-
Arnold Schwaighofer authored
Reapply 183262. llvm-svn: 183427
-
Jakub Staszak authored
llvm-svn: 183426
-
Arnold Schwaighofer authored
Reapply 183261. llvm-svn: 183425
-
Kevin Enderby authored
from the LC_DATA_IN_CODE load command. And when disassembling print the data in code formatted for the kind of data it and not disassemble those bytes. I added the format specific functionality to the derived class MachOObjectFile since these tables only appears in Mach-O object files. This is my first attempt to modify the libObject stuff so if folks have better suggestions how to fit this in or suggestions on the implementation please let me know. rdar://11791371 llvm-svn: 183424
-
Arnold Schwaighofer authored
Reapply of 183260. llvm-svn: 183423
-
Rafael Espindola authored
This reverts commit 183328. It caused pr16244 and broke the bots. llvm-svn: 183422
-
Arnold Schwaighofer authored
Reapply of 183259. llvm-svn: 183421
-
Daniel Jasper authored
Before, clang-format would happily move a trailing block comment to a new line, which normally changes the perceived binding of that comment. E.g., it would move: void f() { /* comment */ ... } to: void f() { /* comment */ ... } llvm-svn: 183420
-
Dmitry Vyukov authored
helps to make range access functions correct and fast llvm-svn: 183418
-
Edwin Vane authored
* Documented new command-line options. * Moved usage to a new page. * Usage now split into general options and transform-related options. * Main Migrator page now contains getting started and getting involved information. * Also included a JIRA issue collector button for logging bugs. llvm-svn: 183417
-
Ashok Thirumurthi authored
- For instance, allows 'gcc' to match x86-64-linux-gnu-gcc as required on some Debian builds. - Also adds doc-strings and a more consistent naming convention for related helpers. llvm-svn: 183415
-
Sergey Matveev authored
llvm-svn: 183414
-
Vincent Lejeune authored
Spotted by Benjamin Kramer. llvm-svn: 183413
-
Sergey Matveev authored
Leak annotation similar to HeapChecker's IgnoreObject(). llvm-svn: 183412
-