summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix DeleteDeadVarargs not to crash on functions referenced by BlockAddressesDerek Schuff2013-06-133-3/+35
| | | | | | | | | | | | | | | This pass was assuming that if hasAddressTaken() returns false for a function, the function's only uses are call sites. That's not true because there can be references by BlockAddresses too. Fix the pass to handle this case. Fix BlockAddress::replaceUsesOfWithOnConstant() to allow a function's type to be changed by RAUW'ing the function with a bitcast of the recreated function. Patch by Mark Seaborn. llvm-svn: 183933
* Be sure to print out the full file path when dumping breakpoint resolvers ↵Greg Clayton2013-06-131-1/+1
| | | | | | for file and line when the full path was specified. llvm-svn: 183932
* Fix a small bug in the linkage computation for the lambda ↵Eli Friedman2013-06-132-2/+11
| | | | | | conversion-to-function-pointer member. llvm-svn: 183931
* Update for llvm change.Rafael Espindola2013-06-132-4/+5
| | | | llvm-svn: 183930
* Update for llvm change.Rafael Espindola2013-06-131-3/+2
| | | | llvm-svn: 183929
* Have sys::FindProgramByName return a std::string.Rafael Espindola2013-06-136-27/+27
| | | | llvm-svn: 183928
* Mips: Remove global set.Benjamin Kramer2013-06-132-57/+68
| | | | | | Backends shouldn't retain any global state. No functionality change. llvm-svn: 183927
* Allow clang to build __clear_cache on ARM.Rafael Espindola2013-06-136-3/+18
| | | | | | | | | __clear_cache is special. It needs no signature, but is a real function in compiler_rt or libgcc. Patch by Andrew Turner. llvm-svn: 183926
* Merge changes to clang's Driver code into LLVM's Option libraryReid Kleckner2013-06-134-11/+45
| | | | | | | | | | | | This is in preparation for switching the clang driver over to using LLVM's Option library. Richard Smith introduced most of these changes to the clang driver in r167638. Reviewers: espindola on IRC Differential Revision: http://llvm-reviews.chandlerc.com/D970 llvm-svn: 183925
* Clean up test to appease NDEBUG builds.Richard Smith2013-06-131-6/+6
| | | | llvm-svn: 183924
* Added some new example code that can grab all functions from any executable, ↵Greg Clayton2013-06-132-0/+183
| | | | | | | | and it will print out the function name, range, return type and argument types. This example shows someone could iterate over all functions and do something intelligent with them, like create function signatures. Then two different builds could be compared to verify the API hasn't changed. llvm-svn: 183923
* InheritViz.cpp uses sys::Path, include PathV1.hRafael Espindola2013-06-131-0/+1
| | | | llvm-svn: 183922
* Covert remaining graph viewers from sys::Path to std::string.Rafael Espindola2013-06-131-3/+3
| | | | llvm-svn: 183921
* Update code for other graph viewing programs too.Rafael Espindola2013-06-131-3/+3
| | | | llvm-svn: 183920
* Reduce usage of sys::Path in the graph writer.Rafael Espindola2013-06-132-49/+52
| | | | | | Now PathV1.h is not needed in GraphWriter.h. llvm-svn: 183919
* cpp11-migrate: const-correcting IncludeExcludeInfoEdwin Vane2013-06-132-6/+6
| | | | | | isFileIncluded() needed to be marked const. llvm-svn: 183918
* cpp11-migrate: Add headers to file override informationEdwin Vane2013-06-133-0/+28
| | | | | | | | | | | File override structures now contain per-source overrides for headers. For now, modified headers are written to disk when the Migrator is done. This is only temporary behaviour since we can expect headers to be changed by migrating multiple source files. The changes need to be merged after all migrations are complete. llvm-svn: 183917
* Use version of DisplayGraph that takes a StringRef.Rafael Espindola2013-06-131-1/+1
| | | | llvm-svn: 183916
* Add a version of DisplayGraph that takes a StringRef.Rafael Espindola2013-06-131-0/+6
| | | | llvm-svn: 183915
* ARM: fix B decodingAmaury de la Vieuville2013-06-132-1/+3
| | | | llvm-svn: 183914
* ARM: fix t2am_imm8_offset operand printing for imm=#-0Amaury de la Vieuville2013-06-132-1/+5
| | | | llvm-svn: 183913
* Further reduce usage of sys::Path in bugpoint.Rafael Espindola2013-06-132-11/+11
| | | | llvm-svn: 183912
* Remove the windows CRSylvestre Ledru2013-06-131-20/+20
| | | | llvm-svn: 183911
* cpp11-migrate: Replace file override containerEdwin Vane2013-06-1318-90/+215
| | | | | | | | | | | | A more flexible container for storing overrides is required for headers. Before a source goes through the transform pipeline, any headers it references will be in their original state and unaffected by transforms applied to other sources. Therefore overrides for headers need to be kept separate for each source file. This patch doesn't introduce support for storing header overrides yet. It only replaces the existing structure and makes any necessary changes to support it. llvm-svn: 183910
* Try to fix the build with libstdc++ 4.4.Rafael Espindola2013-06-131-1/+2
| | | | llvm-svn: 183909
* Reduce sys::Path usage in bugpoint.Rafael Espindola2013-06-131-47/+47
| | | | llvm-svn: 183908
* X86: Make the cmov aliases work with intel syntax too.Benjamin Kramer2013-06-132-21/+54
| | | | llvm-svn: 183907
* [Support] Fix handle and memory leak for processes that are not waited forReid Kleckner2013-06-133-40/+27
| | | | | | | | | | | | Execute's Data parameter is now optional, so we won't allocate memory for it on Windows and we'll close the process handle. The Unix code should probably do something similar to avoid accumulation of zombie children that haven't been waited on. Tested on Linux and Windows. llvm-svn: 183906
* Teach clang about the armv4/armv4t distinctionTim Northover2013-06-132-4/+10
| | | | | | | | | When choosing a default CPU, clang used to pick ARM7TDMI (which has Thumb) even when the more restrictive armv4 triple was specified. This should fix that. Patch by Jeroen Hofstee. llvm-svn: 183905
* Zero-initializing variables; fixes a build breakage introduced in r183864.Aaron Ballman2013-06-131-2/+2
| | | | llvm-svn: 183904
* Modernize some low-hanging PathV1 uses.Benjamin Kramer2013-06-133-24/+27
| | | | llvm-svn: 183903
* libclang: Remove clang::RemapFiles, it's dead code.Benjamin Kramer2013-06-132-73/+0
| | | | llvm-svn: 183902
* libclang: Port CIndexer::getClangResourcesPath to PathV2. No functionality ↵Benjamin Kramer2013-06-132-16/+14
| | | | | | change. llvm-svn: 183901
* Add Ubuntu Saucy to the list of known Ubuntu releasesSylvestre Ledru2013-06-131-1/+3
| | | | | | | Thanks to Dmitry Shachnev for the patch See bug #16317 llvm-svn: 183899
* tsan: fix Windows Go crashDmitry Vyukov2013-06-131-1/+3
| | | | llvm-svn: 183898
* Do not create an object to call a static functionTobias Grosser2013-06-131-3/+1
| | | | llvm-svn: 183897
* Make it clear in Decl::hasBody that it can return true on redeclarations.Manuel Klimek2013-06-131-1/+3
| | | | llvm-svn: 183896
* [LSan] fix link flags for building unit testsAlexey Samsonov2013-06-131-1/+1
| | | | llvm-svn: 183891
* More for PR12457: fix handling of __builtin_isinf_sign and test.Richard Smith2013-06-132-1/+8
| | | | llvm-svn: 183890
* Towards PR12457: constant expression evaluation support for ↵Richard Smith2013-06-132-14/+93
| | | | | | __builtin_parity{,l,ll}, __builtin_ffs{,l,ll}, and __builtin_fpclassify. llvm-svn: 183889
* Updated C++1y status for contextual conversions to 'partial' (without review)Larisse Voufo2013-06-131-1/+1
| | | | llvm-svn: 183888
* [PECOFF] Make readSymbolTable a const function.Rui Ueyama2013-06-131-10/+11
| | | | llvm-svn: 183887
* Fix part of PR12457. Patch by Justin Bogner!Richard Smith2013-06-132-1/+62
| | | | llvm-svn: 183886
* Fix some confusing diagnostic wording. s/implicit default/implicit/ if we'reRichard Smith2013-06-1312-31/+31
| | | | | | not actually talking about a default constructor. llvm-svn: 183885
* C++11: If a class has a user-declared copy operation or destructor, theRichard Smith2013-06-133-1/+96
| | | | | | | | implicit definition of a copy operation is deprecated. Add a warning for this to -Wdeprecated. This warning is disabled by default for now, pending investigation into how common this situation is. llvm-svn: 183884
* Implement core issue 903: only integer literals with value 0 and prvalues ofRichard Smith2013-06-133-24/+35
| | | | | | type std::nullptr_t are null pointer constants from C++11 onwards. llvm-svn: 183883
* In C++11, promote access declaration diagnostic from warning to error. ThereRichard Smith2013-06-133-4/+13
| | | | | | doesn't seem to be any value in even adding a -W flag for this. llvm-svn: 183882
* Add -Wdeprecated warnings and fixits for things deprecated in C++11:Richard Smith2013-06-1310-4/+66
| | | | | | | | | - 'register' storage class - dynamic exception specifications Only the former check is enabled by default for now (the latter might be quite noisy). llvm-svn: 183881
* When copy-initializing a temporary for a reference binding, don't allow use ofRichard Smith2013-06-132-7/+12
| | | | | | explicit constructors. llvm-svn: 183879
* Include the unexpanded packs in the initializer expression when checking aNick Lewycky2013-06-132-1/+13
| | | | | | pack expanded constructor initializer list. Fixes PR16303! llvm-svn: 183878
OpenPOWER on IntegriCloud