summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a new breakpoint type "break by source regular expression".Jim Ingham2011-09-2132-206/+1155
| | | | | | | | | Fix the RegularExpression class so it has a real copy constructor. Fix the breakpoint setting with multiple shared libraries so it makes one breakpoint not one per shared library. Add SBFileSpecList, to be used to expose the above to the SB interface (not done yet.) llvm-svn: 140225
* llvm-objdump: Output line info next to the disassembly if available.Benjamin Kramer2011-09-213-53/+156
| | | | | | | | | | | | MachO-only at the moment, sorry. Usage: $ llvm-objdump -d -m -g -dsym=a.out.dSYM/Contents/Resources/DWARF/a.out a.out _main: 100000e90: 55 pushq %rbp ## test.c:11:3 … llvm-svn: 140224
* DebugInfo: Add equality operators and default constructor to DILineInfo.Benjamin Kramer2011-09-211-0/+10
| | | | llvm-svn: 140223
* Fix comment typo.Johnny Chen2011-09-211-1/+1
| | | | llvm-svn: 140222
* A little refactoring of the way to add break IDs or ID ranges as command ↵Johnny Chen2011-09-213-64/+30
| | | | | | | | | | | | | argument data to the command argument entry. Add a static helper function: CommandObject::AddIDsArgumentData(CommandArgumentEntry &arg) to be used from CommandObjectBreakpoint.cpp. The helper function could also be useful for commands in the future to manipulate watchpoints. llvm-svn: 140221
* Remove the rest of the compiler checking from the top level configureEric Christopher2011-09-213-204/+2
| | | | | | script. Only the testsuite project needs to know this information. llvm-svn: 140220
* [analyzer] Fix a bug where PathDiagnosticLocation did not generate a valid ↵Anna Zaks2011-09-213-16/+36
| | | | | | | | range and add asserts to check validity of locations early on. Ignore invalid ranges in PathDiagnosticPiece (they could be added by checker writers). Addresses radar://10124836 and radar://radar10102244. llvm-svn: 140218
* In the disassembler C API, be careful not to confuse the comment streamer ↵Owen Anderson2011-09-219-24/+28
| | | | | | that the disassembler outputs annotations on with the streamer that the InstPrinter will print them on. llvm-svn: 140217
* Remove llvm-gcc and various compiler handling from llvm. It's not neededEric Christopher2011-09-205-465/+10
| | | | | | here anymore and has been migrated to the test-suite project. llvm-svn: 140216
* Change the names of functions isMips* to hasMips*.Akira Hatanaka2011-09-204-15/+15
| | | | llvm-svn: 140214
* This test is completely invalid with the modern EH model. Delete.Bill Wendling2011-09-201-17/+0
| | | | llvm-svn: 140213
* [ARC] Allow forming 'id*' in an unevaluated context. Fixes rdar://10148540.Argyrios Kyrtzidis2011-09-202-0/+7
| | | | llvm-svn: 140212
* Add some watchpoint maintenance methods to the Target class.Johnny Chen2011-09-205-10/+195
| | | | | | Plus some minor changes to the WatchpointLocationList and WatchpointLocation classes. llvm-svn: 140211
* Make sure IPSCCP never marks a tracked call as overdefined in ↵Eli Friedman2011-09-202-9/+53
| | | | | | | | SCCPSolver::ResolvedUndefsIn. If we do, we can end up in a situation where a function is resolved to return a constant, but the caller is marked overdefined, which confuses the code later. <rdar://problem/9956541> (again). llvm-svn: 140210
* [PCH] Don't store the source range for each preprocessed entity sinceArgyrios Kyrtzidis2011-09-202-27/+15
| | | | | | we already have the range in the PPEntityOffsets array. llvm-svn: 140209
* [PCH] Merge ASTReader::LoadPreprocessedEntity with ReadPreprocessedEntityArgyrios Kyrtzidis2011-09-203-101/+94
| | | | | | and don't store the ID for each preprocessed entity. llvm-svn: 140208
* [libclang] When pointing at a macro expansion inside a macro argument,Argyrios Kyrtzidis2011-09-204-9/+13
| | | | | | return a cursor for the inner macro. llvm-svn: 140207
* [analyzer] Refactor PathDiagnosticLocation: Remove SourceRange member from ↵Anna Zaks2011-09-202-16/+15
| | | | | | PathDiagnosticLocation - FullSourceLoc Loc and PathDiagnosticRange Range are sufficient. llvm-svn: 140206
* One last printf-style call cleanup.Jason Molenda2011-09-201-1/+1
| | | | llvm-svn: 140205
* Add a DAGCombine for subvector extracts to remove useless chains ofBruno Cardoso Lopes2011-09-202-0/+51
| | | | | | | subvector inserts and extracts. Initial patch by Rackover, Zvi with some tweak done by me. llvm-svn: 140204
* Revert r140097, working on a better approachBruno Cardoso Lopes2011-09-202-22/+0
| | | | llvm-svn: 140203
* Fixed a problem where expressions would attempt toSean Callanan2011-09-205-29/+67
| | | | | | | | allocate memory in a process that did not support expression execution. Also improved detection of whether or not a process can execute expressions. llvm-svn: 140202
* lib/Linker: add support of deps which does not end with ".so".Ivan Krasin2011-09-201-0/+8
| | | | | | | | It happens (for example) when you want to have a dependency on the .so with the specific version, like liblzma.so.1.0.0 or libcrypto.so.0.9.8. llvm-svn: 140201
* [analyzer] Refactor PathDiagnosticLocation: Add comments. Remove the last ↵Anna Zaks2011-09-201-6/+5
| | | | | | constructor which could allow invalid locations to slip in. llvm-svn: 140200
* Simplify max/minp[s|d] dagcombine matchingBruno Cardoso Lopes2011-09-201-6/+3
| | | | llvm-svn: 140199
* [analyzer] Remove dead code. (This code is trying to implement the idea that ↵Anna Zaks2011-09-202-40/+1
| | | | | | PathDiagnosticClient could implement DiagnosticClient and has been dead for a while). llvm-svn: 140198
* Update this test to the new EH model.Bill Wendling2011-09-201-0/+4
| | | | | | | Though I think it may be obsolete with the loop extract changes. And I couldn't get the old version of LLVM to compile so that I could reduce this testcase. llvm-svn: 140197
* Relax this condition.Bill Wendling2011-09-201-2/+1
| | | | | | | Some passes require breaking critical edges before they're called. Don't segfault because of that. llvm-svn: 140196
* Place the check for an exit landing pad where it will be run on both code ↵Bill Wendling2011-09-201-6/+15
| | | | | | paths through the if-then-else. llvm-svn: 140195
* Fix typos.Eric Christopher2011-09-201-2/+2
| | | | llvm-svn: 140194
* Omit extracting a loop if one of the exits is a landing pad.Bill Wendling2011-09-201-5/+11
| | | | | | | | | The landing pad must accompany the invoke when it's extracted. However, if it does, then the loop isn't properly extracted. I.e., the resulting extraction has a loop in it. The extracted function is then extracted, etc. resulting in an infinite loop. llvm-svn: 140193
* In SourceManager::translateLineCol, handle the case where we are pointingArgyrios Kyrtzidis2011-09-201-4/+9
| | | | | | directly at the end of the source file. llvm-svn: 140192
* Remove PreprocessingDirectiveKind since it's not necessary.Argyrios Kyrtzidis2011-09-201-6/+5
| | | | llvm-svn: 140191
* The location of the name in MacroDefinition is the beginning of its range,Argyrios Kyrtzidis2011-09-204-13/+4
| | | | | | don't store an extra location for it. llvm-svn: 140190
* Move Microsoft access specifier bug emulation from -fms-extensions to ↵Francois Pichet2011-09-203-21/+21
| | | | | | -fm-compatibility. llvm-svn: 140189
* Remove the hack to check UNAME_RELEASE when identifying the Darwin version.Bob Wilson2011-09-201-9/+0
| | | | | | | | | This was only needed to locate llvm-gcc's installation directory when clang falls back to run llvm-gcc for i386 kexts. As of clang svn r140187, we're now just searching paths with several different Darwin versions on either side of the current version, so this is no longer needed. llvm-svn: 140188
* For i386 kext fallback to llvm-gcc, search paths for several Darwin versions.Bob Wilson2011-09-202-5/+14
| | | | | | | | | This replaces the hack to read UNAME_RELEASE from the environment when identifying the OS version on Darwin, and it's more flexible. It's also horribly ugly, but at least this consolidates the ugliness to touch less of the code so that it will be easier to rip out later. llvm-svn: 140187
* Tidy up a bit more, fix tab and remove trailing whitespacesBruno Cardoso Lopes2011-09-201-9/+5
| | | | llvm-svn: 140186
* Update declarations for all functions/methods that accept printf-styleJason Molenda2011-09-2069-183/+175
| | | | | | | | stdarg formats to use __attribute__ format so the compiler can flag incorrect uses. Fix all incorrect uses. Most of these are innocuous, a few were resulting in crashes. llvm-svn: 140185
* The wrong relocation was being emitted for several SSSE3 instructions.Bruno Cardoso Lopes2011-09-202-1/+7
| | | | | | | This fixes PR10963. Thanks to Benjamin for finding the wrong tablegen declaration. llvm-svn: 140184
* Tidy up code!Bruno Cardoso Lopes2011-09-201-6/+5
| | | | llvm-svn: 140183
* [analyzer] Refactor PathDiagnosticLocation: Make ↵Anna Zaks2011-09-2017-98/+201
| | | | | | | | PathDiagnosticLocation(SourceLocation...) private. Most of the effort here goes to making BugReport refer to a PathDiagnosticLocation instead of FullSourceLocation. (Another step closer to the goal of having Diagnostics which can recover from invalid SourceLocations.) llvm-svn: 140182
* Fix a bug introduced during refactoring a couple of months ago. Cortex-M3 ↵Evan Cheng2011-09-202-9/+43
| | | | | | does not support Thumb2 dsp instructions. rdar://10152911. llvm-svn: 140181
* [analyzer] Refactor PathDiagnosticLocation: Use the pre-computed Range and ↵Anna Zaks2011-09-201-16/+3
| | | | | | Location for profile. llvm-svn: 140180
* [driver] Default to arm mode when using the integrated assembler.Chad Rosier2011-09-205-13/+25
| | | | | | rdar://10125227 llvm-svn: 140179
* Initial Mips64 support. Patch by Liu with some modifications.Akira Hatanaka2011-09-202-2/+20
| | | | llvm-svn: 140178
* Update to new EH model.Bill Wendling2011-09-201-1/+4
| | | | llvm-svn: 140177
* Check the terminator, not the basic block.Bill Wendling2011-09-201-1/+2
| | | | llvm-svn: 140176
* Fix a problem in digraph handling where "[:" might be treated as "<::" andRichard Trieu2011-09-202-2/+9
| | | | | | | erronously trigger the digraph correction fix-it. Include a new test to catch this in the future. llvm-svn: 140175
* Define Mips64 TargetInfo classes.Akira Hatanaka2011-09-201-0/+144
| | | | llvm-svn: 140174
OpenPOWER on IntegriCloud