summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Compare canonical return types when generating MS C++ ABI vtable thunksReid Kleckner2013-12-202-1/+13
| | | | | | | | This was part of the cause for PR17655. We were generating thunks when we shouldn't have. I suspect that if we tweak the test case for PR17655 to actually require thunks, we can reproduce the same crash. llvm-svn: 197836
* Restore vertical alignment lost by clang-formatNick Kledzik2013-12-2010-237/+232
| | | | llvm-svn: 197834
* ARM AnalyzeBranch should ignore DEBUG_VALUES while analyzing terminators.Lang Hames2013-12-201-1/+1
| | | | | | Found by inspection by Julien Lerouge. Thanks Julian! llvm-svn: 197833
* Move the TargetMachine instance into EmitAssemblyHelperAlp Toker2013-12-201-19/+21
| | | | | | Cleanup in preparation for enhanced DataLayout checking. llvm-svn: 197832
* clang-format a couple of mis-formatted functionsTimur Iskhodzhanov2013-12-201-14/+8
| | | | llvm-svn: 197831
* Updated our IR processing to reflect best practicesSean Callanan2013-12-203-29/+34
| | | | | | for making pointer-valued constants. llvm-svn: 197829
* Add the .secidx test I've forgotten to svn add in 197826Timur Iskhodzhanov2013-12-201-0/+16
| | | | llvm-svn: 197828
* clang-cl: Support /P and /E (preprocess to file or stdout)Hans Wennborg2013-12-204-8/+21
| | | | llvm-svn: 197827
* [COFF] Add support for the .secidx directiveTimur Iskhodzhanov2013-12-207-3/+66
| | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D2445 llvm-svn: 197826
* Resinstate the command line taking priority over CMakeLists in setting ↵Artyom Skrobov2013-12-201-1/+3
| | | | | | CMAKE_INSTALL_RPATH llvm-svn: 197825
* Implement initial-exec TLS for PPC32.Roman Divacky2013-12-206-13/+64
| | | | llvm-svn: 197824
* Fix yet another typoTimur Iskhodzhanov2013-12-201-1/+1
| | | | llvm-svn: 197821
* Remove an outdated statement about debugging optimized code.Adrian Prantl2013-12-201-2/+1
| | | | llvm-svn: 197820
* Document the -fno-limit-debug-info switch in the man page.Adrian Prantl2013-12-201-0/+8
| | | | llvm-svn: 197819
* llvm-config: Show OBJROOT rather than OBJROOT/BUILD_MODE in MakefileStyle.NAKAMURA Takumi2013-12-201-0/+1
| | | | llvm-svn: 197818
* llvm-config: Use build_mode instead of LLVM_BUILDMODE. It should be ↵NAKAMURA Takumi2013-12-201-3/+3
| | | | | | equivalent in MakefileStyle. llvm-svn: 197817
* Support for microMIPS FPU instructions 1.Zoran Jovanovic2013-12-206-54/+402
| | | | llvm-svn: 197815
* Make this array const.Rafael Espindola2013-12-201-4/+4
| | | | llvm-svn: 197814
* Empty line between two unrelated #ifdefs.Yaron Keren2013-12-201-0/+1
| | | | llvm-svn: 197810
* [msan] Add missing visibility attribute to MSan new/delete interceptors.Evgeniy Stepanov2013-12-201-0/+9
| | | | llvm-svn: 197809
* [sanitizer] Use the new sanitizer_interception.h header in all interceptors.Evgeniy Stepanov2013-12-206-5/+5
| | | | llvm-svn: 197808
* [sanitizer] Add missing file comment.Evgeniy Stepanov2013-12-201-1/+2
| | | | llvm-svn: 197807
* [msan] Wrap indirect calls to REAL(x) in interceptors.Evgeniy Stepanov2013-12-205-12/+77
| | | | llvm-svn: 197806
* Enable layering check in unavailable modules.Daniel Jasper2013-12-205-107/+129
| | | | | | | | | | | | | | | If a header file belonging to a certain module is not found on the filesystem, that header gets marked as unavailable. Now, the layering warning (-fmodules-decluse) should still warn about headers of this module being wrongfully included. Currently, headers belonging to those modules are just treated as not belonging to modules at all which means they can be included freely from everywhere. To implement this (somewhat) cleanly, I have moved most of the layering checks into the ModuleMap. This will also help with showing FixIts later. llvm-svn: 197805
* [SystemZ] Optimize comparisons with truncated extended loadsRichard Sandiford2013-12-202-2/+46
| | | | | | | | | | | | If the extension of a loaded value is compared against zero and used in other arithmetic, InstCombine will change the comparison to use the unextended load. It's also possible that the comparison could be against the unextended load from the outset. In DAG form this becomes a truncation of an extending load. We want to strip the truncation if possible so that we can use load-and-test instructions. llvm-svn: 197804
* [PECOFF] Create noname or data symbols as such.Rui Ueyama2013-12-201-2/+8
| | | | | | | | | | | If a symbol in an import library is marked as "data", the linker will not create a jump table entry for the symbol, since jump table makes sense only for a symbol pointing to a function. I don't think NONAME attribute has a meaning when creating an import library. The attribute is emitted for debugging purpose. llvm-svn: 197803
* [SystemZ] Extend RISBG optimizationRichard Sandiford2013-12-202-5/+30
| | | | | | | | | | | | The handling of ANY_EXTEND and ZERO_EXTEND was too strict. In this context we can treat ZERO_EXTEND in much the same way as an AND and then also handle outermost ZERO_EXTENDs. I couldn't find a test that benefited from the ANY_EXTEND change, but it's more obvious to write it this way once SIGN_EXTEND and ZERO_EXTEND are handled differently. llvm-svn: 197802
* [PECOFF] Create the import library file.Rui Ueyama2013-12-204-0/+105
| | | | | | | | | | | If the linker is instructed to create a DLL, it will also create an import library (.lib file) to describe the symbols exported by the DLL. This patch is to create the import library file. There is a convenient command "lib.exe" which can create an import library from a module definition file (.def file). The command is used in this patch. llvm-svn: 197801
* All data formatters come in "match exact" and "match regex" stylesEnrico Granata2013-12-202-120/+135
| | | | | | This refactoring makes it less error-prone to define formatter types with the correct match schemes llvm-svn: 197800
* [msan] Replace wrap_indirect_calls runtime flag with an interface method.Evgeniy Stepanov2013-12-207-20/+73
| | | | llvm-svn: 197799
* Fix a typo in the docsTimur Iskhodzhanov2013-12-201-1/+1
| | | | llvm-svn: 197798
* [PECOFF] Assign default export ordinals in LinkingContext::verify().Rui Ueyama2013-12-204-17/+19
| | | | | | | | | | | | | | | Default ordinals were assigned in EdataPass, and the assigned values were then discarded in the pass. No code other than EdataPass would not be able to get all of the information about ordinals. That's not ideal since I'm writing code to emit an Import Library file, which also needs ordinals. This is a patch to move the code to assign default ordinals from EdataPass to LinkingContext::verify(), so that assigned ordinals will be available anywhere. No functionality change. llvm-svn: 197797
* www: Fix typosTobias Grosser2013-12-201-2/+2
| | | | | Reported-by: Dmitry N. Mikushin <maemarcus@gmail.com> llvm-svn: 197796
* FormatNavigator has long stopped navigating anything - the generation of ↵Enrico Granata2013-12-2010-290/+290
| | | | | | | | | possible formatters matches is now done elsewhere So, rename the class for what it truly is: a FormattersContainer Also do a bunch of related text substitutions in the interest of overall naming clarity llvm-svn: 197795
* www: Do not use a fixed with, but use max-widthTobias Grosser2013-12-203-25/+14
| | | | | | | | | Further: o ensure that the header is properly readable even on smaller screen sizes. o Shorten the table of contents of the documentation section. llvm-svn: 197794
* www: Do not use a small fonts for the core textTobias Grosser2013-12-202-5/+5
| | | | llvm-svn: 197793
* Add support for krait cpu in llvm::sys::getHostCPUName()Kai Nacke2013-12-201-0/+11
| | | | | | | Recently, support for krait cpu was added. This commit extends getHostCPUName() to return krait as cpu for the APQ8064 (a Krait 300). llvm-svn: 197792
* Transforms: Don't create bad weights when eliminating dead casesJustin Bogner2013-12-202-1/+26
| | | | | | | | | If we happen to eliminate every case in a switch that has branch weights, we currently try to create metadata for the one remaining branch, triggering an assert. Instead, we need to check that the metadata we're trying to create is sensible. llvm-svn: 197791
* test: Make a branchweight test more specificJustin Bogner2013-12-201-1/+3
| | | | llvm-svn: 197790
* test: Prefer CHECK-LABEL to CHECK in branchweight testsJustin Bogner2013-12-201-4/+5
| | | | llvm-svn: 197789
* Run clang-format on r197727.Rui Ueyama2013-12-2060-749/+629
| | | | llvm-svn: 197788
* ARM IAS: add support for the .pool directiveSaleem Abdulrasool2013-12-202-2/+20
| | | | | | | The .pool directive is an alias for the .ltorg directive used to create a literal pool. Simply treat .pool as if .ltorg was passed. llvm-svn: 197787
* Install three utils, "FileCheck", "count", and "not", for now to appease ↵NAKAMURA Takumi2013-12-203-6/+6
| | | | | | | | | | llvmlab dragonegg builder. Since r197684, "install/bin/llvm-config --obj-root" hasn't shown the build tree. The builder was finding utils in the build tree, from the installed tree. I will revert this after dragonegg builder would be tweaked not to use installed llvm-config. llvm-svn: 197786
* clang-format: Better support for multi-line wide string literals.Daniel Jasper2013-12-204-18/+23
| | | | | | | | | | | Before: SomeFunction(L"A" L"B"); After: SomeFunction(L"A" L"B"); llvm-svn: 197785
* Add floating-point macro definitions v2Tom Stellard2013-12-202-0/+27
| | | | | | | | v2: - Fix typo. Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 197784
* R600: Allow ftruncTom Stellard2013-12-203-0/+18
| | | | | | | | | | | v2: Add ftrunc->TRUNC pattern instead of replacing int_AMDGPU_trunc v3: move ftrunc pattern next to TRUNC definition, it's available since R600 Patch By: Jan Vesely Reviewed-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 197783
* Remove extra check line that's failing on windows and not necessary atEric Christopher2013-12-201-1/+0
| | | | | | the moment. llvm-svn: 197782
* This test requires object emission.Eric Christopher2013-12-201-0/+1
| | | | llvm-svn: 197781
* Ranges in the .debug_range section need to have begin and end labels,Eric Christopher2013-12-201-13/+8
| | | | | | assert that this is so. llvm-svn: 197780
* Makefile.unittest: cleanup may fail. Add '-' in the action.NAKAMURA Takumi2013-12-201-1/+1
| | | | llvm-svn: 197777
OpenPOWER on IntegriCloud