| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [analyzer] Push "references are non-null" knowledge up to the common parent. | Jordan Rose | 2012-08-21 | 4 | -35/+33 |
| | | | | | | | | | | | This reduces duplication across the Basic and Range constraint managers, and keeps their internals free of dealing with the semantics of C++. It's still a little unfortunate that the constraint manager is dealing with this at all, but this is pretty much the only place to put it so that it will apply to all symbolic values, even when embedded in larger expressions. llvm-svn: 162313 | ||||
| * | Fix misaligned access in MachO object file reader: despite containing an | Richard Smith | 2012-08-21 | 1 | -0/+5 |
| | | | | | | | | | | | int64_t, Symbol64TableEntry is actually only stored with 4-byte alignment within the file. The usage of #pragma pack here is copied from the corresponding code in Support/Endian.h, so shouldn't introduce any new portability problems. llvm-svn: 162312 | ||||
| * | Fix unaligned memory accesses when performing relocations in X86 JIT. There's | Richard Smith | 2012-08-21 | 1 | -4/+13 |
| | | | | | | | | no cost to using memcpy here: the fixed code is optimized by LLVM to perfect machine code. llvm-svn: 162311 | ||||
| * | Don't pass a null pointer to cast<> in its unit tests. | Richard Smith | 2012-08-21 | 1 | -3/+5 |
| | | | | | llvm-svn: 162310 | ||||
| * | Don't bind a reference to a dereferenced null pointer (for return value of ↵ | Richard Smith | 2012-08-21 | 1 | -1/+2 |
| | | | | | | | WeakVH::operator*). llvm-svn: 162309 | ||||
| * | Comment change. | Johnny Chen | 2012-08-21 | 1 | -2/+3 |
| | | | | | llvm-svn: 162308 | ||||
| * | [ms-inline asm] Do not report a Parser error when matching inline assembly. | Chad Rosier | 2012-08-21 | 1 | -1/+2 |
| | | | | | llvm-svn: 162307 | ||||
| * | [ms-inline asm] Do not report a Parser error when matching inline assembly. | Chad Rosier | 2012-08-21 | 2 | -15/+27 |
| | | | | | llvm-svn: 162306 | ||||
| * | Ignore the documentation-suggested location for compile_commands.json | David Blaikie | 2012-08-21 | 1 | -0/+1 |
| | | | | | | | | | | | According to http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html it's suggested that compile_commands.json in the root of the LLVM source tree should be a symlink to the json file produced by your build system of choice. So here's a patch so it doesn't turn up in git status, etc. llvm-svn: 162305 | ||||
| * | The presence of the empty file "foo" unfortunately does not improve LLVM in ↵ | David Blaikie | 2012-08-21 | 1 | -0/+0 |
| | | | | | | | | | any way. Thanks to Duncan Sands for catching this random file in code review. llvm-svn: 162304 | ||||
| * | Modern objc translator: Fixes a crash in rewriter when rewriting the API | Fariborz Jahanian | 2012-08-21 | 2 | -1/+38 |
| | | | | | | | for structure valued method messaging. // rdar://12142241 llvm-svn: 162303 | ||||
| * | Use LLVM_BUILTIN_TRAP instead of lame volatile int traps. | David Blaikie | 2012-08-21 | 2 | -2/+2 |
| | | | | | | | (from a todo mentioned in r159469 & originally suggested by Chandler Carruth) llvm-svn: 162302 | ||||
| * | Remove unnecessary cast that was also unnecessarily casting away constness. | David Blaikie | 2012-08-21 | 2 | -1/+1 |
| | | | | | | | | | | | Even looking at the revision history I couldn't quite piece together why this cast was ever written in the first place, but I assume it was because of some change in the inheritance, perhaps this function was reimplemented in a derived type & this caller was meant to get the base version (& it wasn't virtual)? llvm-svn: 162301 | ||||
| * | Provide a portability macro for __builtin_trap. | David Blaikie | 2012-08-21 | 1 | -0/+9 |
| | | | | | llvm-svn: 162300 | ||||
| * | Reduce the amount of state in the Option class by relying on the data from ↵ | Michael J. Spencer | 2012-08-21 | 4 | -139/+74 |
| | | | | | | | OptTable::Info. llvm-svn: 162299 | ||||
| * | Fix macros arguments with an underscore, dot or dollar in them. This is based | Rafael Espindola | 2012-08-21 | 2 | -1/+30 |
| | | | | | | | on a patch by Andy/PaX. I added the support for dot and dollar. llvm-svn: 162298 | ||||
| * | Switch some realignment calculations over to llvm::RoundUpToAlignment. | Richard Smith | 2012-08-21 | 3 | -7/+5 |
| | | | | | llvm-svn: 162297 | ||||
| * | [ms-inline asm] Expose the ErrorInfo from the MatchInstructionImpl. In general, | Chad Rosier | 2012-08-21 | 1 | -1/+3 |
| | | | | | | | this is the index of the operand that failed to match. llvm-svn: 162296 | ||||
| * | [ms-inline asm] Expose the ErrorInfo from the MatchInstructionImpl. In general, | Chad Rosier | 2012-08-21 | 2 | -5/+9 |
| | | | | | | | | | | this is the index of the operand that failed to match. Note: This may cause a buildbot failure due to an API mismatch in clang. Should recover with my next commit to clang. llvm-svn: 162295 | ||||
| * | DeclPrinter, terse mode: don't print function bodies | Dmitri Gribenko | 2012-08-21 | 2 | -18/+35 |
| | | | | | llvm-svn: 162294 | ||||
| * | Rename PrintingPolicy::DontRecurseInDeclContext to PrintingPolicy::TerseOutput | Dmitri Gribenko | 2012-08-21 | 3 | -6/+5 |
| | | | | | | | to reflect the intention, not the implementation. llvm-svn: 162293 | ||||
| * | Formatting. No functional change. | Chad Rosier | 2012-08-21 | 1 | -2/+2 |
| | | | | | llvm-svn: 162292 | ||||
| * | Make the wording in of the "expected identifier" error in the .macro directive | Rafael Espindola | 2012-08-21 | 2 | -2/+11 |
| | | | | | | | | consistent with the other "expected identifier" errors. Extracted from the Andy/PaX patch. I added the test. llvm-svn: 162291 | ||||
| * | [ms-inline asm] Append identifier for better debugging. | Chad Rosier | 2012-08-21 | 1 | -0/+1 |
| | | | | | llvm-svn: 162289 | ||||
| * | [ms-inline asm] Remove this test case and the associated special case code. | Chad Rosier | 2012-08-21 | 2 | -23/+11 |
| | | | | | llvm-svn: 162288 | ||||
| * | Make Mr. Pedantic happy by fixing banner to be exactly 80 columns | Marshall Clow | 2012-08-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 162287 | ||||
| * | Pacify PVS-Studio by changing the type rather than doing a cast, a tweak | Duncan Sands | 2012-08-21 | 1 | -1/+1 |
| | | | | | | | suggested by David Blaikie. llvm-svn: 162286 | ||||
| * | [driver] Add support for the --param ssp-buffer-size= driver option. | Chad Rosier | 2012-08-21 | 6 | -0/+32 |
| | | | | | | | PR9673 llvm-svn: 162285 | ||||
| * | Add support for the --param ssp-buffer-size= driver option. | Chad Rosier | 2012-08-21 | 4 | -9/+19 |
| | | | | | | | PR9673 llvm-svn: 162284 | ||||
| * | Use typedefs. Fix indentation. Extracted from the Andy/PaX patch. | Rafael Espindola | 2012-08-21 | 1 | -5/+4 |
| | | | | | llvm-svn: 162283 | ||||
| * | Remove unused variable. Extracted from the Andy/PaX patch. | Rafael Espindola | 2012-08-21 | 1 | -2/+0 |
| | | | | | llvm-svn: 162282 | ||||
| * | Fix typo. Extracted from the Andy/PaX patch. | Rafael Espindola | 2012-08-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 162281 | ||||
| * | MCJIT: Tidy up the constructor. | Jim Grosbach | 2012-08-21 | 3 | -13/+8 |
| | | | | | | | | | | The MCJIT doesn't need or want a TargetJITInfo. That's vestigal from the old JIT, so just remove it. rdar://12119347 llvm-svn: 162280 | ||||
| * | [asan] fix mac build | Kostya Serebryany | 2012-08-21 | 1 | -0/+2 |
| | | | | | llvm-svn: 162279 | ||||
| * | [asan] run-time part of the initialization order checker. Patch by Reid ↵ | Kostya Serebryany | 2012-08-21 | 6 | -8/+89 |
| | | | | | | | Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine. llvm-svn: 162278 | ||||
| * | PVS-Studio noticed that EmitVBR64 would perform undefined behaviour if the | Duncan Sands | 2012-08-21 | 1 | -1/+3 |
| | | | | | | | | | | number of bits was bigger than 32. I checked every use of this function that I could find and it looks like the maximum number of bits is 32, so I've added an assertion checking this property, and a type cast to (hopefully) stop PVS-Studio from warning about this in the future. llvm-svn: 162277 | ||||
| * | Add correct set of regression tests for r162094 commit. | Tim Northover | 2012-08-21 | 1 | -33/+33 |
| | | | | | llvm-svn: 162276 | ||||
| * | autoconf: Only define GPGPU_CODEGEN, if that feature is requested | Tobias Grosser | 2012-08-21 | 3 | -10/+7 |
| | | | | | | | | | | | Before we defined GPGPU_CODEGEN to '0', which does not disable the relevant code as we just check if that value is defined at all. We now follow the cmake approach and only define GPGPU_CODEGEN, if the feature should be enabled. Reported by: Sebastian Pop <spop@codeaurora.org> llvm-svn: 162275 | ||||
| * | Add rsqrt builtin. Based on patch by Cassie Epps! | Peter Collingbourne | 2012-08-21 | 3 | -0/+8 |
| | | | | | llvm-svn: 162274 | ||||
| * | Add floor builtin. Patch by Cassie Epps! | Peter Collingbourne | 2012-08-21 | 2 | -0/+7 |
| | | | | | llvm-svn: 162273 | ||||
| * | [Sanitizer] implement internal_strcspn | Alexey Samsonov | 2012-08-21 | 2 | -0/+10 |
| | | | | | llvm-svn: 162272 | ||||
| * | Port the global copy optimization from the SROA pass to InstCombine. | Chandler Carruth | 2012-08-21 | 3 | -199/+181 |
| | | | | | | | | | | | This optimization is really just replacing allocas wholesale with globals, there is no scalarization. The underlying motivation for this patch is to simplify the SROA pass and focus it on splitting and promoting allocas. llvm-svn: 162271 | ||||
| * | Fix up indentation and remove a couple else's after returns. | Craig Topper | 2012-08-21 | 1 | -11/+12 |
| | | | | | llvm-svn: 162270 | ||||
| * | [asan] update asan-rt to match the interface change in LLVm (r162268) | Kostya Serebryany | 2012-08-21 | 1 | -1/+2 |
| | | | | | llvm-svn: 162269 | ||||
| * | [asan] add code to detect global initialization fiasco in C/C++. The ↵ | Kostya Serebryany | 2012-08-21 | 2 | -63/+207 |
| | | | | | | | sub-pass is off by default for now. Patch by Reid Watson. Note: this patch changes the interface between LLVM and compiler-rt parts of asan. The corresponding patch to compiler-rt will follow. llvm-svn: 162268 | ||||
| * | Use uint16_t for tables of opcodes. | Craig Topper | 2012-08-21 | 1 | -2/+2 |
| | | | | | llvm-svn: 162267 | ||||
| * | Fix up indentation. No functional change. | Craig Topper | 2012-08-21 | 1 | -61/+61 |
| | | | | | llvm-svn: 162264 | ||||
| * | Add a couple llvm_unreachables. Add a message to several others. | Craig Topper | 2012-08-21 | 1 | -8/+6 |
| | | | | | llvm-svn: 162263 | ||||
| * | [Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It ↵ | Alexey Samsonov | 2012-08-21 | 2 | -0/+38 |
| | | | | | | | is defined analogous to similar class in tsan and should replace it. llvm-svn: 162262 | ||||
| * | Replace a break with llvm_unreachable in the default case of a nested ↵ | Craig Topper | 2012-08-21 | 1 | -50/+18 |
| | | | | | | | switch. Condense code a bit. No functional change. llvm-svn: 162261 | ||||

