summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ASan/Win] Add the first version of the RTL thunk that should be linked with ↵Timur Iskhodzhanov2013-08-131-0/+79
| | | | | | instrumented DLLs llvm-svn: 188267
* Add a FIXME to check_lintTimur Iskhodzhanov2013-08-131-0/+3
| | | | llvm-svn: 188266
* AVX-512: Added CMP and BLEND instructions.Elena Demikhovsky2013-08-135-9/+406
| | | | | | Lowering for SETCC. llvm-svn: 188265
* This patch introduces changes to MipsAsmParser register parsing routines. ↵Vladimir Medic2013-08-131-176/+146
| | | | | | The code now follows more deterministic path and makes the code more efficient and easier to maintain. llvm-svn: 188264
* [*San/RTL] One more minor fixTimur Iskhodzhanov2013-08-131-2/+2
| | | | llvm-svn: 188263
* [*San/RTL] Fix minor breakageTimur Iskhodzhanov2013-08-132-8/+13
| | | | | Grumbling: this hasn't been caught by running 'make check-{a,l,t}san check-sanitizer' llvm-svn: 188262
* Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where ↵Timur Iskhodzhanov2013-08-1322-159/+167
| | | | | | SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used llvm-svn: 188261
* clang-format: Add option for the offset of constructor initializers.Daniel Jasper2013-08-133-3/+67
| | | | | | | | | | | | Some coding styles use a different indent for constructor initializers. Patch by Klemens Baum. Thank you. Review: http://llvm-reviews.chandlerc.com/D1360 Post review changes: Changed data type to unsigned as a negative indent width does not make sense and added test for configuration parsing. llvm-svn: 188260
* GCC warns about removing const with a c-style cast.Benjamin Kramer2013-08-131-1/+1
| | | | llvm-svn: 188259
* Add XCore targetRobert Lytton2013-08-139-1/+291
| | | | llvm-svn: 188258
* Fix typo in comment.David Majnemer2013-08-131-1/+1
| | | | | | Thanks Kim Gräsman! llvm-svn: 188257
* clang-format: Improve boolean expression formatting in macros.Daniel Jasper2013-08-132-1/+4
| | | | | | | | | | Before: #define IF(a, b, c) if (a&&(b == c)) After: #define IF(a, b, c) if (a && (b == c)) llvm-svn: 188256
* clang-format: Activate WebKit-style tests for MS compilers.Daniel Jasper2013-08-131-2/+2
| | | | | | They were accidentally placed in the #if. llvm-svn: 188255
* Pass DIEHash::collectAttributes output argument by-pointer instead of by-value.Evgeniy Stepanov2013-08-133-7/+7
| | | | | | Before this, collectAttributes() was operating on a local object. llvm-svn: 188254
* clang-format: Slightly adapt line break penalties.Daniel Jasper2013-08-132-1/+3
| | | | | | | | | | | Before: aaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaa) ->aaaaaaaaa()); After: aaaaaaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaa)->aaaaaaaaa()); llvm-svn: 188253
* [-cxx-abi microsoft] Mangle __uuidof correctly into template parametersDavid Majnemer2013-08-135-13/+62
| | | | | | | | | | | | | | | | | | | | | | | Summary: It seems that __uuidof introduces a global extern "C" declaration of type __s_GUID. However, our implementation of __uuidof does not provide such a declaration and thus must open-code the mangling for __uuidof in template parameters. This allows us to codegen scoped COM pointers and other such things. This fixes PR16836. Depends on D1356. Reviewers: rnk, cdavis5x, rsmith Reviewed By: rnk CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1357 llvm-svn: 188252
* Drive by cleanupDavid Blaikie2013-08-131-7/+2
| | | | llvm-svn: 188251
* variable templates updated for PCH serialization... Still working on test ↵Larisse Voufo2013-08-136-3/+204
| | | | | | cases... llvm-svn: 188249
* AnalysisBasedWarnings.cpp:: Prune "\param VariableName", possibly copypasto, ↵NAKAMURA Takumi2013-08-132-12/+0
| | | | | | in comments. [-Wdocumentation] llvm-svn: 188248
* Fixed a problem where "image lookup -t" was printingSean Callanan2013-08-131-0/+4
| | | | | | | | | | a bunch of semicolons where the IndirectFieldDecls were. These IndirectFieldDecls should have been implicit. <rdar://problem/14628784> llvm-svn: 188247
* <rdar://problem/14717184>Greg Clayton2013-08-138-693/+771
| | | | | | | | | | | | LLDB needs in memory module load level settings to control how much information is read from memory when loading in memory modules. This change adds a new setting: (lldb) settings set target.memory-module-load-level [minimal|partial|complete] minimal will load only sections (no symbols, or function bounds via function starts or EH frame) partial will load sections + bounds complete will load sections + bounds + symbols llvm-svn: 188246
* [-cxx-abi microsoft] Mangle TemplateArgument::Declaration for referencesDavid Majnemer2013-08-132-2/+15
| | | | | | | | | | | | | | | | Summary: Properly mangle declarations showing up in template arguments that are reference parameters. Fun-fact: undname cannot handle these! Reviewers: rnk, cdavis5x Reviewed By: rnk CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1356 llvm-svn: 188245
* [-cxx-abi microsoft] Stick zero initialized symbols into the .bss section ↵David Majnemer2013-08-133-4/+19
| | | | | | | | | | | | | | | | | | | | | | | for COFF Summary: We need to do two things: - Initialize BSSSection in MCObjectFileInfo::InitCOFFMCObjectFileInfo - Teach TargetLoweringObjectFileCOFF::SelectSectionForGlobal what to do with it This fixes PR16861. Reviewers: rnk Reviewed By: rnk CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1361 llvm-svn: 188244
* Add the start of DIE hashing for DWARF4 type units and split dwarfEric Christopher2013-08-134-5/+164
| | | | | | | | | | CUs. Currently only hashes the name of CUs and the names of any children, but it's an obvious first step to show the framework. The testcase should continue to be correct, however, as it's an empty TU. llvm-svn: 188243
* More support for N3657; tests for is_transparentMarshall Clow2013-08-134-0/+183
| | | | llvm-svn: 188242
* First half of support for N3657; heterogenous lookups for set/multisetMarshall Clow2013-08-1312-0/+902
| | | | llvm-svn: 188241
* Fixed a crash in objc_refs caused by improperSean Callanan2013-08-131-2/+4
| | | | | | | | resolution of class_getSuperclass. <rdar://problem/14662686> llvm-svn: 188240
* [dfsan] Remove the unused __dfsan_memcpy function.Peter Collingbourne2013-08-131-7/+0
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1350 llvm-svn: 188238
* Silence a warning from MSVC about not returning a valueReid Kleckner2013-08-131-0/+1
| | | | llvm-svn: 188237
* Fix an oversight in isPotentiallyReachable where we wouldn't do any CFG-walkingNick Lewycky2013-08-133-53/+99
| | | | | | | | | | | | to find loops if the From and To instructions were in the same block. Refactor the code a little now that we need to fill to start the CFG-walking algorithm with more than one starting basic block sometimes. Special thanks to Andrew Trick for catching an error in my understanding of natural loops in code review. llvm-svn: 188236
* [PECOFF] Treat the common symbol as mergeable symbol.Rui Ueyama2013-08-134-11/+25
| | | | | | | This is a temporary measure because the semantics of the common symbol is actually more compilcated than the simple mergeable symbol. llvm-svn: 188235
* Add comment and source to testcase.Eric Christopher2013-08-121-0/+10
| | | | llvm-svn: 188234
* Reflow comment.Eric Christopher2013-08-121-2/+2
| | | | llvm-svn: 188233
* Remove empty constructor.Eric Christopher2013-08-121-3/+0
| | | | llvm-svn: 188232
* [dfsan] Begin a private header and move shadow_for there.Peter Collingbourne2013-08-122-4/+36
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1348 llvm-svn: 188231
* Remove Sema includes from Analysis code to fix layeringReid Kleckner2013-08-124-136/+91
| | | | | | | | | This moves a header-only class from Sema to Analysis and puts the option check in Sema. Patch by Chris Wailes! llvm-svn: 188230
* [dfsan] Introduce dfsan_union runtime function.Peter Collingbourne2013-08-123-0/+18
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1347 llvm-svn: 188229
* Add "CHECK-" prefix to un-break buildbot failure.Rui Ueyama2013-08-127-28/+28
| | | | | | | After r188221, the prefix given by --check-prefix must match with the label as a whole. Substring is not considered to be a correct label anymore. llvm-svn: 188227
* clang-cl: Sink /Fe and /Fo diagnostic code into BuildActionsHans Wennborg2013-08-122-29/+30
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1370 llvm-svn: 188226
* ObjectiveC migration. Add couple of routineFariborz Jahanian2013-08-121-1/+23
| | | | | | , currently unused, for future cf-annotation work. llvm-svn: 188224
* Slightly simplify code with helper functionsMatt Arsenault2013-08-121-14/+16
| | | | | | | e.g. Use Ty->getPointerElementType() instead of cast<PointerType>(Ty)->getElementType() llvm-svn: 188223
* DebugInfo: Simplify declaration building code - relying on the limit debug ↵David Blaikie2013-08-121-17/+6
| | | | | | info checking already in CreateType(RecordType) llvm-svn: 188222
* [FileCheck] Fix a bug that cause FileCheck to misidentify check-prefixRui Ueyama2013-08-123-2/+42
| | | | | | | | | FileCheck should check to make sure the prefix was found, and not a word containing it (e.g -check-prefix=BASEREL shouldn't match NOBASEREL). Patch by Ron Ofir. llvm-svn: 188221
* [Object/ELF] sh_type is not a bitfield. Fixes RuntimeDyld test failure on ARM.Michael J. Spencer2013-08-121-2/+2
| | | | llvm-svn: 188220
* Add some braces, and spaces around operatorsMatt Arsenault2013-08-121-26/+42
| | | | llvm-svn: 188219
* Fix a crash with X86 Mach-O and a subtraction expression where both symbols areKevin Enderby2013-08-122-0/+10
| | | | | | | | | undefined and produce an error message instead as this is a non-relocatable expression with X86 Mach-O. rdar://8920876 llvm-svn: 188218
* Reapply r188119 now that the bug it exposed is fixed.Peter Collingbourne2013-08-123-174/+152
| | | | llvm-svn: 188217
* DataFlowSanitizer: fix a use-after-free. Spotted by libgmalloc.Peter Collingbourne2013-08-121-1/+4
| | | | llvm-svn: 188216
* R600: Set scheduling preference to Sched::SourceTom Stellard2013-08-129-9/+9
| | | | | | | | | | | | | | | | | | | | | | | R600 doesn't need to do any scheduling on the SelectionDAG now that it has a very good MachineScheduler. Also, using the VLIW SelectionDAG scheduler was having a major impact on compile times. For example with the phatk kernel here are the LLVM IR to machine code compile times: With Sched::VLIW Total Compile Time: 1.4890 Seconds (User + System) SelectionDAG Instruction Scheduling: 1.1670 Seconds (User + System) With Sched::Source Total Compile Time: 0.3330 Seconds (User + System) SelectionDAG Instruction Scheduling: 0.0070 Seconds (User + System) The code ouput was identical with both schedulers. This may not be true for all programs, but it gives me confidence that there won't be much reduction, if any, in code quality by using Sched::Source. llvm-svn: 188215
* DebugInfo: simplify some limited/declaration creation APIsDavid Blaikie2013-08-122-41/+11
| | | | llvm-svn: 188214
OpenPOWER on IntegriCloud