summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use FindReportInEquivalenceClass to identify all the nodes used for the ↵Ted Kremenek2010-09-093-37/+317
| | | | | | | | | | trimmed graph (in BugReporter). This fixes a problem where a leak that happened to occur on both an exit() path and a non-exit() path was getting reported with the exit() path (which users don't care about). This fixes: <rdar://problem/8331641> leak reports should not show paths that end with exit() (but ones that don't end with exit()) llvm-svn: 113524
* Basic FP->Int, Int->FP conversions.Eric Christopher2010-09-091-0/+55
| | | | llvm-svn: 113523
* Add one more pattern to fallback movddupBruno Cardoso Lopes2010-09-092-0/+12
| | | | llvm-svn: 113522
* Extend the getDependence query with support for PHI translation.Dan Gohman2010-09-093-15/+64
| | | | llvm-svn: 113521
* Add a getPointerOperand() helper function to VAArgInst, for consistencyDan Gohman2010-09-091-0/+4
| | | | | | with LoadInst and StoreInst. llvm-svn: 113520
* Add comments to InstanceSettings constructors explaining why they have Caroline Tice2010-09-093-9/+19
| | | | | | | to be set up the way they are. Comment out code that removes pending settings for live instances (after the settings are copied over). llvm-svn: 113519
* For each instruction itinerary class, specify the number of micro-ops eachEvan Cheng2010-09-0911-28/+140
| | | | | | | | | | instruction in the class would be decoded to. Or zero if the number of uOPs must be determined dynamically. This will be used to determine the cost-effectiveness of predicating a micro-coded instruction. llvm-svn: 113513
* Fix this comment.Dan Gohman2010-09-091-2/+3
| | | | llvm-svn: 113511
* Move the ProcessPlugins enum definition from lldb-enumerations.h to Caroline Tice2010-09-093-10/+12
| | | | | | | Process.h; modify the process.plugins settings variable to use the correct plugin names. llvm-svn: 113510
* MCELF: Write relocation fragments in the right endian.Benjamin Kramer2010-09-091-5/+26
| | | | | | - This code is gross, but does the job for now. llvm-svn: 113509
* Make ELF OS ABI dependent on the OS from target triple.Roman Divacky2010-09-093-15/+28
| | | | llvm-svn: 113508
* Make API calls for setting/getting user settable variables static.Caroline Tice2010-09-093-19/+41
| | | | | | | Modify Driver to handle SIGWINCH signals and automatically re-set the term-width variable. llvm-svn: 113506
* Frontend: Add -cxx-system-include option which can be used to specify anDaniel Dunbar2010-09-094-2/+18
| | | | | | | explicit list for the C++ system include directories at the -cc1 level, as an alternative to the horrible AddDefaultCPlusPlusIncludePaths(). llvm-svn: 113505
* Fix indentation.Daniel Dunbar2010-09-091-30/+28
| | | | llvm-svn: 113504
* build: Allow subdir Makefiles to provide an alternate location for the SRCDIRDaniel Dunbar2010-09-091-7/+11
| | | | | | Makefile, which can be used to allow building out of tree sources. llvm-svn: 113503
* Move remaining MMX instructions from SSE to MMX.Dale Johannesen2010-09-092-107/+44
| | | | llvm-svn: 113501
* Simplify template instantiation for C++ exception declarations,Douglas Gregor2010-09-095-37/+23
| | | | | | eliminating an unnecessary use of TemporaryBase in the process. llvm-svn: 113500
* Refactor code-size reduction estimation methods out of InlineCostAnalyzer ↵Owen Anderson2010-09-093-102/+102
| | | | | | | | | | | and into CodeMetrics. They don't use any InlineCostAnalyzer state, and are useful for other clients who don't necessarily want to use all of InlineCostAnalyzer's logic, some of which is fairly inlining-specific. No intended functionality change. llvm-svn: 113499
* Eliminate some unnecessary uses of TreeTransform::TemporaryBase. ThereDouglas Gregor2010-09-091-53/+23
| | | | | | | are still a few (legitimate, unfortunate) uses of this hack around, but at least now there are fewer. llvm-svn: 113498
* Modify the command options help generation so that required optionsCaroline Tice2010-09-091-34/+75
| | | | | | | | | | are always printed immediately after the command, before optional options; also so that in the detailed descriptions of each command option, the options and their help are output in alphabetical order (sorted by the short option) rather in whatever order they happened to be in the table. llvm-svn: 113496
* Eliminate the comma locations from all of the Sema routines that dealDouglas Gregor2010-09-0911-75/+26
| | | | | | | | with comma-separated lists. We never actually used the comma locations, nor did we store them in the AST, but we did manage to waste time during template instantiation to produce fake locations. llvm-svn: 113495
* MC: Give a (lame) hard error if a .org directive would create an unreasonablyDaniel Dunbar2010-09-091-1/+1
| | | | | | large object file (> 1GB). llvm-svn: 113494
* Use temporary files for this test, to see if we can flush out an ↵Douglas Gregor2010-09-091-3/+6
| | | | | | inexplicable error on Windows llvm-svn: 113493
* Add proper type-source information to UnaryTypeTraitExpr, includingDouglas Gregor2010-09-0911-63/+90
| | | | | | libclang visitation. llvm-svn: 113492
* tests: XFAIL a handful of tests on the vg_leak builder, so we can get back toDaniel Dunbar2010-09-099-0/+11
| | | | | | green. llvm-svn: 113491
* projects: Don't try to build libcxx if one happens to have it checked out intoDaniel Dunbar2010-09-091-1/+4
| | | | | | llvm/projects. llvm-svn: 113490
* Clean up CMake dependenciesDouglas Gregor2010-09-0911-22/+22
| | | | llvm-svn: 113489
* Add an elf-dumper utility.Benjamin Kramer2010-09-093-0/+342
| | | | | | | | - Output format and some of the code stolen from macho-dump. - Somewhat incomplete and probably buggy. - Comes with a very basic test. llvm-svn: 113488
* Yonggang Luo fixed gcc version checking for type_traits support.Howard Hinnant2010-09-091-38/+40
| | | | llvm-svn: 113487
* lib/System/Host.cpp: 7bit-ize. Eliminate "TM" and "(R)" in comments.NAKAMURA Takumi2010-09-091-16/+16
| | | | llvm-svn: 113486
* Get rid of the last use of -m64 in FrontendC. This solutionDuncan Sands2010-09-091-2/+2
| | | | | | | of checking for either 4 or 8 is not very satisfactory, but it would catch the original problem (an alignment of 1). llvm-svn: 113485
* Another test that uses -m64. Here too it looks like it can beDuncan Sands2010-09-091-10/+4
| | | | | | | removed. Not that the XTARGET wasn't doing anything since it does nothing without an accompanying XFAIL. llvm-svn: 113484
* On i386, llvm-gcc cannot be assumed to support -m64. Since theseDuncan Sands2010-09-092-3/+3
| | | | | | | tests pass here (i686-linux and x86-64-linux) without -m64, simply remove the -m64. llvm-svn: 113483
* Remove unused variable.Benjamin Kramer2010-09-091-1/+0
| | | | llvm-svn: 113482
* Fix C++ PCH issue.Argyrios Kyrtzidis2010-09-094-24/+50
| | | | | | | | | Another beating by boost in this test case: http://llvm.org/PR8117 A function specialization wasn't properly initialized if it wasn't canonical. I wish there was a nice little test case but this was boost. llvm-svn: 113481
* do not bind temporaries to non-const referencesGabor Greif2010-09-093-3/+3
| | | | | | | | | | | this fixes all analyser test failures in my gcc34-based environment how the cast result could bind to the non-const ref is somewhat mysterious and remains to be investigated; to avoid similar miscompilations (by gcc34 only?) llvm-svn: 113480
* This script is executable.Duncan Sands2010-09-091-0/+0
| | | | llvm-svn: 113479
* Silence compiler warning.Kalle Raiskila2010-09-091-1/+1
| | | | llvm-svn: 113478
* Rename GRState::getSVal() -> getRawSVal() and getSimplifiedSVal() -> getSVal().Ted Kremenek2010-09-098-28/+782
| | | | | | | | | | | | | | | | | The end result is now we eagarly constant-fold symbols in the analyzer that are perfectly constrained to be a constant value. This allows us to recover some path-sensitivity in some cases by lowering the required level of reasoning power needed to evaluate some expressions. The net win from this change is that the false positive in PR 8015 is fixed, and we also find more idempotent operations bugs. We do, however, regress with the BugReporterVisitors, which need to be modified to understand this constant folding (and look past it). This causes some diagnostic regressions in plist-output.m which will get addressed in a future patch. plist-output.m is now marked XFAIL, while plist-output-alternate.m now tests that the plist output is working, but with the suboptimal diagnostics. This second test file will eventually be removed. llvm-svn: 113477
* Fix indentation.Ted Kremenek2010-09-091-28/+28
| | | | llvm-svn: 113476
* Got the ARM version of debugserver up to date. Greg Clayton2010-09-0912-195/+740
| | | | | | | | | Renamed the "dispatchqaddr" setting that was coming back for stop reply packets to be named "qaddr" so that gdb doesn't thing it is a register number. gdb was checking the first character and assuming "di" was a hex register number because 'd' is a hex digit. It has been shortened so gdb can safely ignore it. llvm-svn: 113475
* Make all debugger-level user settable variables into instance variables.Caroline Tice2010-09-0915-70/+175
| | | | | | | Make get/set variable at the debugger level always set the particular debugger's instance variables rather than the default variables. llvm-svn: 113474
* Fix NEON VLD pseudo instruction itineraries that were incorrectly copied fromBob Wilson2010-09-092-6/+6
| | | | | | | the VST pseudos. The VLD/VST scheduling still needs work (see pr6722), but at least we shouldn't confuse the loads with the stores. llvm-svn: 113473
* Check format strings when a called function has more than one FormatAttr ↵Ted Kremenek2010-09-092-8/+20
| | | | | | (one for 'scanf' and one for 'printf'). Fixes <rdar://problem/8409437>. llvm-svn: 113472
* It appears that technically a null format string is not warned under ↵Ted Kremenek2010-09-092-0/+14
| | | | | | | | -Wformat-nonliteral, as the function processing the format string can decided whether or not to accept a null format string (e.g., asl_log). Fixes <rdar://problem/8269537>. llvm-svn: 113469
* Avoid redundant recursive calls in SemaCheckStringLiteral by just updating ↵Ted Kremenek2010-09-091-7/+5
| | | | | | | | the expression and trying again. llvm-svn: 113468
* Remove tabs I accidentally introduced.Ted Kremenek2010-09-091-29/+29
| | | | llvm-svn: 113467
* Remove stray ';' and convert tabs to spaces.Ted Kremenek2010-09-092-9/+9
| | | | llvm-svn: 113466
* Simplified reachability checking in IdempotentOperationChecker and added a ↵Tom Care2010-09-091-72/+155
| | | | | | | | | | helper function for path display. - Created private class CFGReachabilityAnalysis, which provides cached reachability lookups in the CFG - Simplified PathWasCompletelyAnalyzed to use the new reachability class - Added getLastRelevantNodes function for future use with path displaying in BugReporter llvm-svn: 113465
* Relax __attribute_((nonnull)) checking to allow the attribute on functions ↵Ted Kremenek2010-09-093-8/+5
| | | | | | | | with no pointer arguments. GCC doesn't warn in this case, and the attribute is trivially satisfied (and benign). Fixes <rdar://problem/8364828>. llvm-svn: 113464
OpenPOWER on IntegriCloud