summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* do not warn about unknown pragmas in modes that do not handle them (pr9537)Lubos Lunak2013-12-045-9/+17
| | | | | | | And refactor to have just one place in code that sets up the empty pragma handlers. llvm-svn: 196372
* [SystemZ] Fix handling of pass-by-pointer argumentsRichard Sandiford2013-12-042-4/+4
| | | | | | | | | | | | | | | | I'd misunderstood getIndirect() to mean that the argument should be passed as a pointer at the ABI level, with the ByVal argument choosing caller-copy semantics over no-caller-copy (callee-copy-on-write) semantics. But getIndirect(x) actually means that x is passed by pointer at the IR level but (at least on all other targets I looked at) directly at the ABI level. getIndirect(x, false) selects a pointer to a caller-made copy, which is what SystemZ was aiming for. This fixes a miscompilation of c-index-test. Structure arguments were being passed by pointer, but no copy was being made, so a write in the callee stomped over a caller's local variable. llvm-svn: 196370
* Update email address.Bill Wendling2013-12-041-1/+1
| | | | llvm-svn: 196369
* Sema: Propagate the mangling number into instantiationsDavid Majnemer2013-12-042-0/+35
| | | | | | | | | | | | | | | | | | We would lose track of the mangling number assigned to the original declaration which would cause us to create manglings that didn't match the Itanium C++ specification. e.g. Two static fields with the same name inside of a function template would receive the same mangling with LLVM fixing up the second field so they wouldn't collide. This would create an incompatibility with other compilers following the Itanium ABI. I've confirmed that the new mangling is identical to the ones generated by icc and gcc. N.B. This was uncovered while working on Microsoft mangler. llvm-svn: 196368
* Un-revert r196358: "llvm-cov: Added support for function checksums."Daniel Jasper2013-12-0410-7/+30
| | | | | | And add the proper fix. llvm-svn: 196367
* Delete dead code.Rui Ueyama2013-12-041-19/+0
| | | | llvm-svn: 196366
* Revert r196358: "llvm-cov: Added support for function checksums."Daniel Jasper2013-12-0410-29/+7
| | | | | | | This currently breaks clang/test/CodeGen/code-coverage.c. The root cause is that the newly introduced access to Funcs[j] is out of bounds. llvm-svn: 196365
* [ASan] Return interface attribute to __sanitizer_print_stack_traceAlexey Samsonov2013-12-041-1/+4
| | | | llvm-svn: 196364
* [PECOFF] Ignore /functionpadmin option.Rui Ueyama2013-12-042-1/+2
| | | | | | | | | If /functionpadmin is specified, the linker is supposed to make room at the beginning of each function, so that self-modifying program would easily hotpatch existing functions. Since I'm not sure if this feature is really used, I'll make LLD to ignore the option for now. llvm-svn: 196363
* [AArch64 Neon] Add ACLE intrinsic vceqz_f64.Kevin Qin2013-12-042-12/+26
| | | | llvm-svn: 196362
* [AArch64 NEON] Add ACLE intrinsic vceqz_f64.Kevin Qin2013-12-042-5/+19
| | | | llvm-svn: 196361
* [AArch64 NEON] Add missing compare intrinsics.Kevin Qin2013-12-042-0/+238
| | | | llvm-svn: 196360
* [AArch64 NEON] Add missing compare intrinsics.Kevin Qin2013-12-044-20/+213
| | | | llvm-svn: 196359
* llvm-cov: Added support for function checksums.Yuchen Wu2013-12-0410-7/+29
| | | | | | | The function checksums are hashed from the concatenation of the function name and line number. llvm-svn: 196358
* compiler-rt: Added support for function checksums.Yuchen Wu2013-12-041-2/+2
| | | | llvm-svn: 196357
* llvm-cov: Added checks for ident, checksum, name.Yuchen Wu2013-12-042-16/+48
| | | | | | | Added additional checks for the Identifier, CfgChecksum and Name for each GCOVFunction. Also added function names in error messages. llvm-svn: 196356
* Fixed a couple of test errors; changed 'const A const *' to 'const A* ↵Marshall Clow2013-12-041-2/+2
| | | | | | const'. Thanks to Nico for the catch llvm-svn: 196355
* llvm-cov: Capitalized GCNO and GCDA for consistency.Yuchen Wu2013-12-042-8/+8
| | | | llvm-svn: 196354
* llvm-cov: Split GCOVFile's read into GCNO and GCDA.Yuchen Wu2013-12-043-79/+105
| | | | | | | | This splits the file-scope read() function into readGCNO() and readGCDA(). Also broke file format read into functions that first read the file type, then check the version. llvm-svn: 196353
* Fix error recovery in return statement.Serge Pavlov2013-12-042-2/+15
| | | | | | This patch fixes PR16989. llvm-svn: 196352
* Fix PR17637: incorrect calculation of template parameter depthFaisal Vali2013-12-044-2/+86
| | | | | | In delayed template parsing mode, adjust the template depth counter for each template parameter list associated with an out of line member template specialization. llvm-svn: 196351
* clang/test: REQUIRES: s/x86-64-registered-target/x86-registered-target/NAKAMURA Takumi2013-12-0423-23/+23
| | | | llvm-svn: 196350
* clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/NAKAMURA Takumi2013-12-0417-17/+17
| | | | llvm-svn: 196349
* clang/test/CodeGen/builtins-nvptx.c: Prune "REQUIRES: ↵NAKAMURA Takumi2013-12-041-1/+0
| | | | | | nvptx64-registered-target". "nvptx" should imply it. llvm-svn: 196348
* check-clang: Introduce get_llvm_config_props in clang/test/lit.cfg.NAKAMURA Takumi2013-12-042-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In trunk, we can use features as below: aarch64-registered-target hexagon-registered-target msp430-registered-target r600-registered-target systemz-registered-target xcore-registered-target Each of them, as below, implies corresponding subtargets: arm-registered-target -- arm, thumb mips-registered-target -- mips, mips64, mips64el, mipsel nvptx-registered-target -- nvptx, nvptx64 sparc-registered-target -- sparc, sparcv9 x86-registered-target -- x86, x86-64 They will be renamed: cppbackend-registered-target -- was "cpp". Unused in trunk. powerpc-registered-target -- was "ppc32", "ppc64" and "ppc64le". The feature "asserts" is also taken from llvm-config. llvm-svn: 196347
* Add newline at eof.NAKAMURA Takumi2013-12-041-1/+1
| | | | llvm-svn: 196346
* Fix a funny typo.Rafael Espindola2013-12-041-1/+1
| | | | | | Thanks for j`ey and Sean Silva for noticing it. llvm-svn: 196344
* [LangRef] Remove (non-normative) paragraph that doesn't make sense.Sean Silva2013-12-041-6/+0
| | | | | | | | | It appears to be referring to nonexistent entities. This must be a carry-over from an older version of the document. Patch by Mikael Lyngvig! llvm-svn: 196342
* Produce deterministic coff files.Rafael Espindola2013-12-042-1/+6
| | | | llvm-svn: 196341
* Add -mcpu=core2 to all llc invocations in this test.Rafael Espindola2013-12-041-4/+4
| | | | | | Should fix the atom buildbot. llvm-svn: 196340
* [Stackmap] Specify the triple and cpu to fix the unit test.Juergen Ributzka2013-12-041-1/+1
| | | | llvm-svn: 196339
* Remove redundant check.Richard Smith2013-12-041-4/+1
| | | | llvm-svn: 196338
* Fix crash if a dependent template-id was assumed to be a type but instantiatesRichard Smith2013-12-042-1/+26
| | | | | | to a variable template specialization. llvm-svn: 196337
* clang-format-diff.py: Fix 'beintroduced' in help outputAlp Toker2013-12-042-5/+7
| | | | | | Also update docs to reflect recently changed -i inplace edit behaviour. llvm-svn: 196336
* Fix crash if a variable template specialization is used in a ↵Richard Smith2013-12-043-7/+7
| | | | | | nested-name-specifier. llvm-svn: 196335
* [Stackmap] Emit multi-byte nops for X86.Juergen Ributzka2013-12-044-29/+350
| | | | llvm-svn: 196334
* Fix several crash-on-invalids when using template-ids that aren'tRichard Smith2013-12-049-15/+55
| | | | | | simple-template-ids (eg, 'operator+<int>') in weird places. llvm-svn: 196333
* [PECOFF] Do not strip .debug section.Rui Ueyama2013-12-035-51/+4
| | | | llvm-svn: 196332
* final patch for very long conditional branches for mips16 constant islands.Reed Kotler2013-12-033-5/+327
| | | | | | | | | this completes the basic port of ARM constant islands to Mips16. More testing, code review, cleanup is in order but basically everything seems to be working. A bug in gas is preventing some of the runtime testing but I hope to resolve this soon. llvm-svn: 196331
* check-llvm: Ask llvm-config about assertion mode, instead of llc.NAKAMURA Takumi2013-12-033-6/+15
| | | | | | Add --assertion-mode to llvm-config. It emits ON or OFF according to NDEBUG. llvm-svn: 196329
* utils/llvm-lit: Generate "llvm-lit.py" rather than "llvm-lit" on Win32 hosts ↵NAKAMURA Takumi2013-12-032-3/+13
| | | | | | | | to let llvm-lit.py --use-processes work. llvm-lit needs suffix.py for multiprocess to find a main module. llvm-svn: 196328
* Update comment grammar and contents.Eric Christopher2013-12-031-1/+4
| | | | llvm-svn: 196323
* Fix log message for new invalidation checks in PlanValidAtAddress(). Jason Molenda2013-12-031-2/+26
| | | | | | Thanks to Ed and Greg for catching the incorrect logging statements. llvm-svn: 196322
* Use CHECK-LABEL to make this test more strict.Rafael Espindola2013-12-031-14/+20
| | | | llvm-svn: 196321
* Updated the build settings for lldb-platform and lldb-gdbserver to include ↵Greg Clayton2013-12-031-0/+8
| | | | | | libxml2. llvm-svn: 196320
* [objc] Add a warning when a class that provides a designated initializer, ↵Argyrios Kyrtzidis2013-12-035-7/+46
| | | | | | | | does not override all of the designated initializers of its superclass. llvm-svn: 196319
* [objc] Emit warning when the implementation of a secondary initializer calls onArgyrios Kyrtzidis2013-12-039-8/+97
| | | | | | | | | | | super another initializer and when the implementation does not delegate to another initializer via a call on 'self'. A secondary initializer is an initializer method not marked as a designated initializer within a class that has at least one initializer marked as a designated initializer. llvm-svn: 196318
* [objc] Emit warnings when the implementation of a designated initializer ↵Argyrios Kyrtzidis2013-12-036-19/+61
| | | | | | | | calls on super an initializer that is not a designated one or any initializer on self. llvm-svn: 196317
* [objc] Emit a warning when the implementation of a designated initializer ↵Argyrios Kyrtzidis2013-12-0310-2/+207
| | | | | | | | does not chain to an init method that is a designated initializer for the superclass. llvm-svn: 196316
* [objc] Introduce ObjCInterfaceDecl::getDesignatedInitializers() to get theArgyrios Kyrtzidis2013-12-035-3/+53
| | | | | | | | | | designated initializers of an interface. If the interface declaration does not have methods marked as designated initializers then the interface inherits the designated initializers of its super class. llvm-svn: 196315
OpenPOWER on IntegriCloud