summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "[-cxx-abi microsoft] Mangle UUIDs correctly, stick them in the ↵David Majnemer2013-08-093-17/+19
| | | | | | | | | | proper section" This commit reverts r188053. It is breaking the build bots. llvm-svn: 188055
* Add missing 'v' prefix in front of palignr on one of checks.Craig Topper2013-08-091-1/+1
| | | | llvm-svn: 188054
* [-cxx-abi microsoft] Mangle UUIDs correctly, stick them in the proper sectionDavid Majnemer2013-08-093-19/+17
| | | | | | | | | | | | We mangled them like: L___uuid_12345678-1234-1234-1234-123456789abc We should've mangled them like: __GUID_12345678_1234_1234_1234_123456789abc Furthermore, they are external symbols. llvm-svn: 188053
* [PECOFF] Create __ImageBase symbol.Rui Ueyama2013-08-094-20/+203
| | | | | | | | | | | | | __ImageBase is a symbol having 4 byte integer equal to the image base address of the resultant executable. The linker is expected to create the symbol as if it were read from a file. In order to emit the symbol contents only when the symbol is actually referenced, we created a pseudo library file to wrap the linker generated symbol. The library file member is emitted to the output only when the member is actually referenced, which is suitable for our purpose. llvm-svn: 188052
* Change asserts at the top of getVectorShuffle to check that LHS and RHS have ↵Craig Topper2013-08-091-6/+3
| | | | | | | | | | the same type as the result. Previously the asserts were only checking that RHS and LHS were the same type and had the same element type as the result. All downstream code for ISD::VECTOR_SHUFFLE requires the types to be the same. Also removed one unnecessary check of matched element counts that was present in the code. llvm-svn: 188051
* Implement [class.friend]p11's special name lookup rules for friend declarationsRichard Smith2013-08-0911-91/+219
| | | | | | | | of local classes. We were previously handling this by performing qualified lookup within a function declaration(!!); replace it with the proper scope lookup. llvm-svn: 188050
* Fix spelling error. s/Libary/Library/g.Rui Ueyama2013-08-093-3/+3
| | | | llvm-svn: 188049
* Set ISD::FROUND to Expand by default for all typesHal Finkel2013-08-092-4/+25
| | | | | | | | | | | For most libm ISD nodes, TargetLoweringBase::initActions sets the default scalar-type action to Expand, and leaves the vector-type action default as Legal. This is not appropriate for the new ISD::FROUND node (which no backend but PowerPC handles explicitly). Fixes PR16842. llvm-svn: 188048
* [CodeGen] prevent abnormal on invalid attributesSaleem Abdulrasool2013-08-0910-22/+36
| | | | | | | | | | | Currently, when an invalid attribute is encountered on processing a .s file, clang will abort due to llvm_unreachable. Invalid user input should not cause an abnormal termination of the compiler. Change the interface to return a boolean to indicate the failure as a first step towards improving hanlding of malformed user input to clang. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 188047
* [PECOFF] Fully cover the switch for COMDAT attributes and add a comment.Rui Ueyama2013-08-091-2/+13
| | | | llvm-svn: 188046
* Fix comment typo.Rui Ueyama2013-08-091-1/+1
| | | | llvm-svn: 188045
* Optimistically ignore scattered relocations in MachO in RuntimeDyld. ThisLang Hames2013-08-094-0/+12
| | | | | | | | un-breaks simple use cases while I work on more general support. <rdar://problem/14487667> llvm-svn: 188044
* [analyzer] Warn when using 'delete' on an uninitialized variable.Jordan Rose2013-08-092-1/+61
| | | | | | Patch by Karthik Bhat, modified slightly by me. llvm-svn: 188043
* [tests] Make string encoding issues explicit.Daniel Dunbar2013-08-091-0/+1
| | | | llvm-svn: 188042
* [tests] Avoid deprecated except syntax.Daniel Dunbar2013-08-092-2/+8
| | | | llvm-svn: 188041
* [lit] Rename lit.{TestFormats,Util} to their aliased names {formats,util}.Daniel Dunbar2013-08-097-20/+24
| | | | | | | - With compatibility hack in lit.__init__, so this hopefully shouldn't break anything. llvm-svn: 188040
* [lit] Inject the lit specific config object as 'lit_config' when loading ↵Daniel Dunbar2013-08-091-0/+1
| | | | | | | | | | config files. - Injecting it as 'lit' is gross, since that name should be used to refer to the actual package. For now both are available so it is possibly to cleanup test config files incrementally. llvm-svn: 188039
* [lit] Split TestingConfig.frompath() into separate ctor and load methods.Daniel Dunbar2013-08-093-51/+58
| | | | llvm-svn: 188038
* clang-cl: Support /showIncludesHans Wennborg2013-08-0911-13/+48
| | | | | | | | | | This option prints information about #included files to stderr. Clang could already do it, this patch just teaches the existing code about the /showIncludes style and adds the flag. Differential Revision: http://llvm-reviews.chandlerc.com/D1333 llvm-svn: 188037
* Fix false error message for function-style macro instance used as arguments ↵John Thompson2013-08-093-0/+17
| | | | | | in other function-style macros instances, and add test for it. llvm-svn: 188036
* Extend comments for problems and future directions.John Thompson2013-08-091-2/+15
| | | | llvm-svn: 188035
* [lit] Eliminate mustExist parameter from TestingConfig.frompath().Daniel Dunbar2013-08-093-37/+34
| | | | llvm-svn: 188034
* [lit] Only create config copies when a local config file is present.Daniel Dunbar2013-08-092-5/+12
| | | | llvm-svn: 188033
* [lit] Eliminate parent argument from TestingConfig.frompath(), which is ↵Daniel Dunbar2013-08-093-6/+12
| | | | | | effectively unused. llvm-svn: 188032
* Add missing PPC64 relocation types.Michael J. Spencer2013-08-081-0/+42
| | | | llvm-svn: 188031
* Update the CMake build files.Eric Christopher2013-08-081-0/+1
| | | | llvm-svn: 188030
* Revert r185882. This is causing problems with the gold linker and might be ↵Bill Wendling2013-08-081-4/+2
| | | | | | better handled by the linker. llvm-svn: 188029
* Move hash computation code into a separate class and file.Eric Christopher2013-08-083-99/+191
| | | | | | No functional change intended. llvm-svn: 188028
* clang-cl: Map /Oi[-] to -f[no-]builtinHans Wennborg2013-08-082-2/+11
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1328 llvm-svn: 188027
* [PECOFF] Support COMDAT section that contains mergeable atoms.Rui Ueyama2013-08-084-9/+149
| | | | | | | | | | | | | | | The COMDAT section is a section with a special attribute to tell the linker whether the symbols in the section are allowed to be merged or not. This patch add a function to interpret the COMDAT data and set "merge" attribute to the atoms accordingly. LLD supports multiple policies to merge atoms; atoms can be merged by name or by content. COFF supports them, and in addition to that, it supports choose-the-largest-atom policy, which LLD currently does not support. I simply mapped it to merge-by-name attribute for now, but we eventually have to support that policy in the core linker. llvm-svn: 188025
* Mips ELF: MicroMips direct object Little endian support. Jack Carter2013-08-084-52/+126
| | | | | | | | Test included. Patch by Zoran Jovanovich llvm-svn: 188024
* llvm isn't C++11 yet :(Michael J. Spencer2013-08-081-1/+1
| | | | llvm-svn: 188023
* [Object] Split the ELF interface into 3 parts.Michael J. Spencer2013-08-0817-2745/+2829
| | | | | | | | * ELFTypes.h contains template magic for defining types based on endianess, size, and alignment. * ELFFile.h defines the ELFFile class which provides low level ELF specific access. * ELFObjectFile.h contains ELFObjectFile which uses ELFFile to implement the ObjectFile interface. llvm-svn: 188022
* Update to llvm changes.Michael J. Spencer2013-08-089-180/+292
| | | | llvm-svn: 188021
* [mips] Rename accumulator register classes and FP register operands.Akira Hatanaka2013-08-0812-246/+246
| | | | llvm-svn: 188020
* N3644 tests for map/multimap/set/multiset. Drive-by NOEXCEPT for ↵Marshall Clow2013-08-0815-15/+80
| | | | | | __tree_const_iterator constructor. Fix comment typos in other tests llvm-svn: 188019
* unbreak buildbot on Windows.Fariborz Jahanian2013-08-081-1/+1
| | | | llvm-svn: 188018
* [mips] Mark pseudo instructions as code-gen only.Akira Hatanaka2013-08-081-5/+5
| | | | llvm-svn: 188017
* [mips] Delete register class HWRegs64.Akira Hatanaka2013-08-085-56/+3
| | | | | | No functionality change. llvm-svn: 188016
* Ensure that we don't build LLVM with a dependencySean Callanan2013-08-081-1/+3
| | | | | | on curses. llvm-svn: 188015
* cast fix to appease buildbotDavid Fang2013-08-081-1/+1
| | | | llvm-svn: 188014
* ObjectiveC migrator: tighten rule about when toFariborz Jahanian2013-08-083-8/+8
| | | | | | | migrate to @property with getter name starting with 'is'. llvm-svn: 188013
* Revert "Reapply r185872 now that the address sanitizer has been changed to ↵Arnold Schwaighofer2013-08-082-9/+10
| | | | | | | | support this." This reverts commit r187939. It broke an O0 build of a spec benchmark. llvm-svn: 188012
* Update the .drectve section to remove reference to nonexistent files.Rui Ueyama2013-08-082-2/+2
| | | | llvm-svn: 188011
* [tests] Remove dead VALGRIND and CLEANED_TESTSUITE makefile variables.Daniel Dunbar2013-08-081-6/+0
| | | | llvm-svn: 188010
* [lit] Change --show-{tests,suites} to exit after printing.Daniel Dunbar2013-08-083-12/+14
| | | | | | - This is a more sensible behavior than printing and also running tests. llvm-svn: 188009
* [lit] Remove --repeat option, which wasn't that useful.Daniel Dunbar2013-08-084-23/+0
| | | | llvm-svn: 188008
* [lit] Eliminate some nested imports.Daniel Dunbar2013-08-084-13/+8
| | | | llvm-svn: 188007
* [lit] Remove on_clone member, which is no longer used.Daniel Dunbar2013-08-082-14/+9
| | | | llvm-svn: 188006
* ObjectiveC migration: Handle another special case ofFariborz Jahanian2013-08-083-18/+85
| | | | | | | setter/getter methods which can be migrated to a @property. llvm-svn: 188005
OpenPOWER on IntegriCloud