summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add -Wno-nested-anon-types to -pedantic builds of LLVM. This Clang warningRichard Smith2013-01-315-4/+15
| | | | | | | | | | | | | | | | | | | catches uses of an extremely minor and widely-available C++ extension (which every C++ compiler I could find supports, but EDG and Clang reject in strict mode). The diagnosed code pattern looks like this: struct X { union { struct { int a; int b; } S; }; }; llvm-svn: 174103
* [lit] Add a test for internal shell execution behaviors.Daniel Dunbar2013-01-3110-0/+125
| | | | llvm-svn: 174102
* [lit] Change to raise InternalShellError for all command execution issues.Daniel Dunbar2013-01-311-4/+5
| | | | llvm-svn: 174101
* Document another instsimplify assumption.Dan Gohman2013-01-311-0/+7
| | | | llvm-svn: 174100
* R600: Fold clamp, neg, absTom Stellard2013-01-312-5/+49
| | | | | | | Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174099
* R600: Consider bitcast when folding const_address node.Tom Stellard2013-01-312-0/+11
| | | | | | | Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174098
* R600: Make store_dummy intrinsic more general by passing export typeTom Stellard2013-01-312-4/+9
| | | | | | | Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174097
* [analyzer] Don't track autorelease pools created by +new.Jordan Rose2013-01-312-2722/+3991
| | | | | | | | | | | | | This matches our behavior for autorelease pools created by +alloc. Some people like to create autorelease pools in one method and release them somewhere else. If you want safe autorelease pool semantics, use the new ARC-compatible syntax: @autoreleasepool { ... } <rdar://problem/13121353> llvm-svn: 174096
* Add "thread return -x" to unwind the innermost user called expression (if ↵Jim Ingham2013-01-315-39/+222
| | | | | | | | | | you happen to have stopped in it due to a crash.) Make the message when you hit an crash while evaluating an expression a little clearer, and mention "thread return -x". rdar://problem/13110464 llvm-svn: 174095
* Remove unused variable, which should have been removed with r174083.Chad Rosier2013-01-311-1/+0
| | | | llvm-svn: 174094
* Linker: correctly link in dbg.declareManman Ren2013-01-313-2/+151
| | | | | | | | | | | | | | | | | | | This is a re-worked version of r174048. Given source IR: call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !14), !dbg !15 we used to generate call void @llvm.dbg.declare(metadata !27, metadata !28), !dbg !29 !27 = metadata !{null} With this patch, we will correctly generate call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !27), !dbg !28 Looking up %argc.addr in ValueMap will return null, since %argc.addr is already correctly set up, we can use identity mapping. rdar://problem/13089880 llvm-svn: 174093
* [ELF][x86-64] Improve unknown relocation message.Michael J. Spencer2013-01-311-2/+3
| | | | llvm-svn: 174092
* [ELF] Create atoms for progbits sections with no symbols but still have content.Michael J. Spencer2013-01-311-0/+22
| | | | llvm-svn: 174091
* Add support for emitting a string attribute.Bill Wendling2013-01-312-45/+77
| | | | | | | | | | Attributes that are strings are typically target-dependent attributes. They are of this form in the IR: "attr" "attr" = "val" llvm-svn: 174090
* [lit] Fix bug where InternalShellError messages were discarded.Daniel Dunbar2013-01-311-3/+2
| | | | | | - Also, change the exit code to match 'sh'. llvm-svn: 174089
* Add braces, so my head doesn't explode.Chad Rosier2013-01-311-1/+2
| | | | llvm-svn: 174088
* [lit] Fix a shell parsing bug with ';' not separated by whitespace.Daniel Dunbar2013-01-311-4/+9
| | | | | | - Testing finds bugs, who knew. llvm-svn: 174087
* Update AArch64 backend to changed eliminateFrameIndex interface.Tim Northover2013-01-312-13/+10
| | | | llvm-svn: 174086
* When lowering memcpys to loads and stores, make sure we don't promote alignmentsLang Hames2013-01-312-25/+61
| | | | | | past the natural stack alignment. llvm-svn: 174085
* [Dwarf] early exit to avoid creating dangling DIEsManman Ren2013-01-311-1/+6
| | | | | | | | | | | | We used to create children DIEs for a scope, then check whether ScopeDIE is null. If ScopeDIE is null, the children DIEs will be dangling. Other DIEs can link to those dangling DIEs, which are not emitted at all, causing dwarf error. The current testing case is 4k lines, from MultiSource/BenchMark/McCat/09-vor. rdar://problem/13071959 llvm-svn: 174084
* [PEI] Pass the frame index operand number to the eliminateFrameIndex function.Chad Rosier2013-01-3125-176/+139
| | | | | | | Each target implementation was needlessly recomputing the index. Part of rdar://13076458 llvm-svn: 174083
* Change the default behavior for unwinding and breakpoints when running ↵Jim Ingham2013-01-311-2/+2
| | | | | | | | expressions. <rdar://problem/13121442> llvm-svn: 174082
* Lexer: Don't warn about Unicode in preprocessor directives.Jordan Rose2013-01-313-2/+19
| | | | | | | | | This allows people to use Unicode in their #pragma mark and in macros that exist only to be string-ized. <rdar://problem/13107323&13121362> llvm-svn: 174081
* interpreter: Fix errant fallthrough.Jim Grosbach2013-01-311-1/+3
| | | | llvm-svn: 174080
* Object: Fix errant fallthrough.Jim Grosbach2013-01-311-0/+1
| | | | llvm-svn: 174079
* RuntimeDyld: Fix errant fallthrough.Jim Grosbach2013-01-311-0/+1
| | | | llvm-svn: 174078
* Preprocessor: initialize member introduced in r173881.Jordan Rose2013-01-311-0/+1
| | | | | | | Compilation always sets this explicitly, but creating a preprocessor manually should still put the 'IsPreprocessedOutput' flag in a valid state. llvm-svn: 174077
* Reverted unintendedly-committed file.Alexander Kornienko2013-01-311-1/+1
| | | | llvm-svn: 174076
* Micro-change: moved a brace for better readabilityAlexander Kornienko2013-01-312-3/+3
| | | | llvm-svn: 174075
* Making sure a Pythonless build of LLDB works by #ifdef-ing out formatters code.Enrico Granata2013-01-311-0/+2
| | | | llvm-svn: 174074
* Turn off missing field initializer warnings for gccEdwin Vane2013-01-311-0/+13
| | | | | | | | | gcc produces false positives for empty braces so turning the warning off. Instead, turning the warning on for clang so proper warnings aren't missed. Reviewers: dblaikie, chandlerc llvm-svn: 174073
* [lit] Add a test for the various ShTest format features.Daniel Dunbar2013-01-3116-0/+72
| | | | llvm-svn: 174072
* [lit] TestRunner: Eliminate failDueToStderr argument, which is now unused.Daniel Dunbar2013-01-311-9/+3
| | | | llvm-svn: 174071
* [lit] Delete the now-unused SyntaxCheckTest format.Daniel Dunbar2013-01-313-13/+1
| | | | | | - Also, kill the pointless LitFormats module. llvm-svn: 174070
* Revert "[analyzer] Model trivial copy/move ctors with an aggregate bind."Jordan Rose2013-01-315-183/+17
| | | | | | | | | It's causing hangs on our internal analyzer buildbot. Will restore after investigating. This reverts r173951 / baa7ca1142990e1ad6d4e9d2c73adb749ff50789. llvm-svn: 174069
* Clarify intent.Jakob Stoklund Olesen2013-01-311-0/+6
| | | | llvm-svn: 174068
* [MC] bundle alignment: prevent padding instructions from crossing bundle ↵Derek Schuff2013-01-314-13/+140
| | | | | | boundaries llvm-svn: 174067
* add support for assigning virtual addresses to TDATA/TBSS sectionsShankar Easwaran2013-01-313-8/+24
| | | | llvm-svn: 174065
* clang/test/Index/skip-parsed-bodies/compile_commands.json: Mark it as ↵NAKAMURA Takumi2013-01-311-1/+1
| | | | | | XFAIL:mingw32, for now. llvm-svn: 174064
* Never break inside something that was a preprocessor directive.Manuel Klimek2013-01-312-3/+5
| | | | | | Just put it in one unwrapped line and let the formatter handle it. llvm-svn: 174063
* Several improvements to the formatting of static initializers.Daniel Jasper2013-01-313-16/+71
| | | | | | | | | | | | | 1. Never avoid bin packing in static initializers as this can lead to terrible results. 2. If an element has to be broken over multiple lines, break after the following comma. This should be a step forward, but there are still many cases especially with nested static initializers that we handle badly. More patches will follow. llvm-svn: 174061
* Attempt to fix Windows build breakage.Evgeniy Stepanov2013-01-311-1/+2
| | | | llvm-svn: 174060
* [sanitizer] make the error messages from sanitizer_common contain the actual ↵Kostya Serebryany2013-01-316-9/+18
| | | | | | tool name llvm-svn: 174059
* [ASan] Split ASan interface header into private and public parts. Add a test ↵Alexey Samsonov2013-01-3118-120/+174
| | | | | | that makes sure users can include interface header llvm-svn: 174058
* Move commonly useful code for AST testing into MatchVerfier.h.Manuel Klimek2013-01-312-165/+196
| | | | llvm-svn: 174057
* Add myself as code owner of AArch64 backend.Tim Northover2013-01-311-0/+4
| | | | llvm-svn: 174056
* Add support for AArch64 target.Tim Northover2013-01-3119-6/+1467
| | | | | | | | | | | | | In cooperation with the LLVM patch, this should implement all scalar front-end parts of the C and C++ ABIs for AArch64. This patch excludes the NEON support also reviewed due to an outbreak of batshit insanity in our legal department. That will be committed soon bringing the changes to precisely what has been approved. Further reviews would be gratefully received. llvm-svn: 174055
* Add AArch64 as an experimental target.Tim Northover2013-01-31192-13/+45628
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for AArch64 (ARM's 64-bit architecture) to LLVM in the "experimental" category. Currently, it won't be built unless requested explicitly. This initial commit should have support for: + Assembly of all scalar (i.e. non-NEON, non-Crypto) instructions (except the late addition CRC instructions). + CodeGen features required for C++03 and C99. + Compilation for the "small" memory model: code+static data < 4GB. + Absolute and position-independent code. + GNU-style (i.e. "__thread") TLS. + Debugging information. The principal omission, currently, is performance tuning. This patch excludes the NEON support also reviewed due to an outbreak of batshit insanity in our legal department. That will be committed soon bringing the changes to precisely what has been approved. Further reviews would be gratefully received. llvm-svn: 174054
* Revert r174043 and tweak the comment wording so I'm (hopefully) not confused ↵Richard Smith2013-01-311-0/+8
| | | | | | by it again! llvm-svn: 174053
* Made the min-trip-count-switch test X86-specific to avoidPekka Jaaskelainen2013-01-311-0/+0
| | | | | | breakage with builds without X86-support. llvm-svn: 174052
OpenPOWER on IntegriCloud