summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove a const_cast by propagating constness to called functionsDmitri Gribenko2013-02-142-3/+3
| | | | llvm-svn: 175161
* Remove an unneeded const_castDmitri Gribenko2013-02-141-3/+2
| | | | llvm-svn: 175160
* Remove const_casts by making spec_begin()/spec_end() constDmitri Gribenko2013-02-143-19/+18
| | | | llvm-svn: 175159
* llvm-symbolizer: speedup symbol lookupDmitry Vyukov2013-02-142-43/+73
| | | | llvm-svn: 175158
* [ASan] Fixed the wrong placement of #includeAlexander Potapenko2013-02-141-1/+1
| | | | llvm-svn: 175157
* Workaround an MSan false positive.Evgeniy Stepanov2013-02-141-0/+2
| | | | llvm-svn: 175156
* [ASan] Remove the 'alarm' script which isn't present on OS X by default.Alexander Potapenko2013-02-141-2/+2
| | | | | | The test may hang now if a regression occurs. llvm-svn: 175155
* tsan: fix bug in suppression reading (suppressions from file were discarded)Dmitry Vyukov2013-02-141-1/+1
| | | | llvm-svn: 175153
* Remove the trailing whitespace of formatted lines.Daniel Jasper2013-02-142-13/+25
| | | | | | | | | | | | | | | So far, clang-format has always assumed the whitespace belonging to the subsequent token. This has the negative side-effect that when clang-format formats a line, it does not remove its trailing whitespace, as it belongs to the next token. Thus, this patch fixes most of llvm.org/PR15062. We are not zapping a file's trailing whitespace so far, as this does not belong to any token we see during formatting. We need to fix this in a subsequent patch. llvm-svn: 175152
* Get less confused by trailing comma in Google style.Daniel Jasper2013-02-142-1/+13
| | | | | | | | | | | | | | | | | The formatter can now format: void aaaaaaaaaaaaaaaaaa(int level, double *min_x, double *max_x, double *min_y, double *max_y, double *min_z, double *max_z, ) { } Although this is invalid code, it frequently happens during development and clang-format should be nicer :-). llvm-svn: 175151
* Moved line-info.ll to DebugInfo\X86 directoryElena Demikhovsky2013-02-141-0/+0
| | | | llvm-svn: 175150
* Add some legality checks for SETCC before introducing it in the DAG combiner ↵Owen Anderson2013-02-141-2/+6
| | | | | | post-operand legalization. llvm-svn: 175149
* Remove accidentally committed empty test.Daniel Jasper2013-02-141-3/+0
| | | | llvm-svn: 175148
* Align superclasses for multiple inheritence.Daniel Jasper2013-02-144-2/+36
| | | | | | | | | | | | | | | | This fixes llvm.org/PR15179. Before: class ColorChooserMac : public content::ColorChooser, public content::WebContentsObserver { }; After: class ColorChooserMac : public content::ColorChooser, public content::WebContentsObserver { }; llvm-svn: 175147
* The test failed on Windows. I've changed the platform to run to ↵Elena Demikhovsky2013-02-141-1/+1
| | | | | | "x86_64-apple-darwin". llvm-svn: 175146
* [sanitizer] Raise argv limit for ReExec.Evgeniy Stepanov2013-02-141-1/+1
| | | | | | We are still limited by /proc/*/cmdline size (4Kb max on Linux!). llvm-svn: 175145
* Fixed a bug in X86TargetLowering::LowerVectorIntExtend() (assertion failure).Elena Demikhovsky2013-02-142-3/+31
| | | | | | Added a test. llvm-svn: 175144
* Revert accidental commit.Bill Wendling2013-02-141-13/+0
| | | | llvm-svn: 175143
* [asan] use short path for sanitizer_common/tests/sanitizer_test_utils.h, add ↵Kostya Serebryany2013-02-142-1/+2
| | | | | | -I sanitizer_common/tests to asan/tests/CMakeLists.txt llvm-svn: 175142
* Pass the target options through to code generation.Bill Wendling2013-02-146-10/+33
| | | | | | | The code generation stuff is going to set attributes on the functions it generates. To do that it needs the target options. Pass them through. llvm-svn: 175141
* [asan] fix x32 build (H.J. Lu)Kostya Serebryany2013-02-141-2/+2
| | | | llvm-svn: 175140
* R600/SI: Check for empty stack in SIAnnotateControlFlow::isTopOfStackMichel Danzer2013-02-141-1/+1
| | | | | | | Fixes assertion failure in newly added lit test. Might just be a bandaid that needs to be revisited. llvm-svn: 175139
* R600: Add lit tests for texture sampling instruction selection.Michel Danzer2013-02-142-0/+113
| | | | | Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 175138
* [tsan] disable a failing test until it gets fixed. fix lintKostya Serebryany2013-02-142-2/+4
| | | | llvm-svn: 175137
* <rdar://problem/13207948>Greg Clayton2013-02-141-44/+44
| | | | | | "watchpoint set expression" fails if "--" is present without any option. Made this command match exactly what "expression" does. llvm-svn: 175136
* <rdar://problem/13200878>Greg Clayton2013-02-141-2/+3
| | | | | | | | | | | | | | When launching in the shell, make sure if you specify a relative path, and if the current working directory has a space in it, that we don't hose the shell invocation. Currently if we launch with a relative path, we prepend the current working directory to the PATH using: PATH=`cwd`:$PATH a.out ... We needed to add quotes around the value for PATH to make sure if any paths in PATH contained spaces, that we don't hose the shell command. Now we do a: PATH="`cwd`:$PATH" a.out ... llvm-svn: 175135
* Reapply "s/grep/FileCheck/ in some tests"Andrew Trick2013-02-145-6/+15
| | | | | | | | This reverts commit fd1335e982bbf93c5f450ed4fd29f9f787435c85. Use a triple this time. llvm-svn: 175134
* Revert r175120 and r175121. Clang is producing the expected asm names again.Rafael Espindola2013-02-142-1/+7
| | | | llvm-svn: 175133
* Partially revert r175117 so that we don't break assumptions about howRafael Espindola2013-02-144-9/+24
| | | | | | | static functions in extern "C" contexts are mangled. Should fix the bootstrap. llvm-svn: 175132
* <rdar://problem/13198767>Greg Clayton2013-02-141-1/+2
| | | | | | When dumping instructions, resolve the address specified as a file address if the target doesn't have anything loaded. llvm-svn: 175131
* RegisterCoalescer::reMaterializeTrivialDef() can constrain the destinationCameron Zwarich2013-02-141-1/+1
| | | | | | register class to match the defining instruction. llvm-svn: 175130
* Add missing typename to unbreak the MSVC 2012 build.Francois Pichet2013-02-142-10/+10
| | | | llvm-svn: 175129
* Teach the DataLayout aware constant folder to be much more aggressive towardsNick Lewycky2013-02-142-8/+42
| | | | | | 'and' instructions. This is a pattern that shows up a lot in ubsan binaries. llvm-svn: 175128
* Add a test for handling a function call that throws an exception, and make ↵Jim Ingham2013-02-147-10/+166
| | | | | | | | it work. <rdar://problem/13183944> llvm-svn: 175127
* Remove the form field from Mips16 instruction formats and set thingsReed Kotler2013-02-143-87/+73
| | | | | | | | | up so that we can apply the direct object emitter patch. This patch should be a nop right now and it's test is to not break what is already there. llvm-svn: 175126
* Probably should return that value we took the trouble to compute.Jim Ingham2013-02-141-1/+1
| | | | llvm-svn: 175125
* Revert "s/grep/FileCheck/ in some tests"Andrew Trick2013-02-145-16/+6
| | | | | | | | | | | | | | | | | | This reverts commit 8b75e6bc35fb3f9c1e788dbd05084c0f4a60a0f3. The FileCheck tests are not equivalent: test/CodeGen/X86/tailcall-structret.ll:6:10: error: expected string not found in input ; CHECK: jmp init ^ <stdin>:1:2: note: scanning from here .section __TEXT,__text,regular,pure_instructions ^ <stdin>:13:2: note: possible intended match here jmp _init ## TAILCALL ^ llvm-svn: 175124
* Fix RegisterCoalescer::rematerializeTrivialDef() so that it works on flippedCameron Zwarich2013-02-141-10/+10
| | | | | | | CoalescerPairs. Also, make it take a CoalescerPair directly like other methods of RegisterCoalescer. llvm-svn: 175123
* Fix some issues with rematerialization in RegisterCoalescer when the destinationCameron Zwarich2013-02-141-0/+10
| | | | | | | | | | | | of the copy is a subregister def. The current code assumes that it can do a full def of the destination register, but it is not checking that the def operand is read-undef. It also doesn't clear the subregister index of the destination in the new instruction to reflect the full subregister def. These issues were found running 'make check' with my next commit that enables rematerialization in more cases. llvm-svn: 175122
* Don't assume the mangling of static functions.Rafael Espindola2013-02-141-6/+0
| | | | llvm-svn: 175121
* Don't asume that a static function in an extern "C" block will not be mangled.Rafael Espindola2013-02-141-1/+1
| | | | | | | | | | | | | | Since functions with internal linkage don't have language linkage, it is valid to overload them: extern "C" { static int foo(); static int foo(int); } So we mangle them. llvm-svn: 175120
* merge hasCLanguageLinkage and isExternC. Keep the shorter name.Rafael Espindola2013-02-146-75/+60
| | | | | | | | | | I added hasCLanguageLinkage while fixing some language linkage bugs some time ago so that I wouldn't have to check all users of isExternC. It turned out to be a much longer detour than expected, but this patch finally merges the two again. The isExternC function now implements just the standard notion of having C language linkage. llvm-svn: 175119
* Initial docs directoryEdwin Vane2013-02-144-0/+606
| | | | | | | | | | Adding a new docs directory, with files auto-generated by sphinx-quickstart, for user documentation for the various tools in the clang-tools-extra repository. Author: Jack Yang <jack.yang@intel.com> Reviewers: gribozavr, silvas llvm-svn: 175118
* Add a getLanguageLinkage method to VarDecls and FunctionDecls. Use it to fixRafael Espindola2013-02-1410-40/+145
| | | | | | | | | | | | | | | some cases where functions with no language linkage were being treated as having C language linkage. In particular, don't warn in extern "C" { static NonPod foo(); } Since getLanguageLinkage checks the language linkage, the linkage computation cannot use the language linkage. Break the loop by checking just the context in the linkage computation. llvm-svn: 175117
* When marking derived classes' virtual methods ODR-used in order to triggerNick Lewycky2013-02-142-1/+18
| | | | | | | instantiation in order to permit devirtualization later in codegen, skip over pure functions since those can't be devirtualization targets. llvm-svn: 175116
* Teach ccc-analyze to pass on -iquote with no spaces between it an the argument.Ted Kremenek2013-02-141-0/+5
| | | | llvm-svn: 175115
* Fix broken testcase: ignore LLDB output that warns about more elements than ↵Daniel Malea2013-02-141-4/+4
| | | | | | | | can be displayed. - test could be re-written at some point, but right now just trying to clean up known failures for the linux buildbot. llvm-svn: 175114
* Actually fix rendering of the example code block!Richard Smith2013-02-141-1/+1
| | | | llvm-svn: 175113
* Some grammar fixes to 'Format String Checking', and reorder the text ↵Richard Smith2013-02-141-5/+6
| | | | | | slightly to try to make the final code block actually get rendered. llvm-svn: 175112
* Marking two tests expected-to-fail on LinuxDaniel Malea2013-02-142-0/+3
| | | | | | | - PR-15260: lldb does not display correct value of 1-bit field - PR-16261: lldb does not display size of (file/class) static array llvm-svn: 175111
OpenPOWER on IntegriCloud