summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix broken tests.Benjamin Kramer2012-10-024-5/+6
| | | | llvm-svn: 165019
* Do not patch the instruction address when symbolizing the reports.Alexander Potapenko2012-10-023-33/+11
| | | | | | Instead, print the correct address at runtime. llvm-svn: 165018
* Fix PR13991: legalizing an overflowing multiplication operation is harder thanDuncan Sands2012-10-022-7/+29
| | | | | | | the add/sub case since in the case of multiplication you also have to check that the operation in the larger type did not overflow. llvm-svn: 165017
* Splitting this test case into two because the behavior for the calling ↵Aaron Ballman2012-10-022-6/+6
| | | | | | convention code is target-specific. llvm-svn: 165016
* Allowing individual targets to determine whether a given calling convention ↵Aaron Ballman2012-10-0216-22/+163
| | | | | | | | is allowed or ignored with warning. This allows for correct name mangling for x64 targets on Windows, which in turn allows for linking against the Win32 APIs. Fixes PR13782 llvm-svn: 165015
* [Sanitizer] fix line widthAlexey Samsonov2012-10-021-1/+2
| | | | llvm-svn: 165009
* [ASan] Change __asan_set_on_error_callback to weak overridable ↵Alexey Samsonov2012-10-025-21/+27
| | | | | | __asan_on_error, so that ASan would call the latter even if it finds the error early (i.e. during module initialization) llvm-svn: 165008
* Silencing an MSVC warning about */ being found outside of a comment.Aaron Ballman2012-10-021-1/+1
| | | | llvm-svn: 165007
* [*San]: handle EINTR.Evgeniy Stepanov2012-10-022-2/+13
| | | | llvm-svn: 165006
* Add redecls into their lexical DeclContext: this is what they assert on, and ↵Axel Naumann2012-10-022-1/+12
| | | | | | | | the merging should have set it correctly. This is especially relevant for templatedDecls that might be injected (and thus have their DeclContext set to) somewhere completely different. llvm-svn: 165005
* tsan: fix mac buildDmitry Vyukov2012-10-028-11/+14
| | | | llvm-svn: 165004
* [ASan] Add extern C for __asan_symbolize on WindowsAlexey Samsonov2012-10-021-1/+3
| | | | llvm-svn: 165003
* Enable programmatic provisioning of virtual module.map files (instead of ↵Axel Naumann2012-10-021-0/+5
| | | | | | | | writing out actual module.map files). Opens up the wonders of clang::Modules to tools - though they remain as experimental as before. llvm-svn: 165002
* Only those InterestingDecls that got added to the AST should be passed to ↵Axel Naumann2012-10-026-13/+39
| | | | | | the ASTConsumer. llvm-svn: 165001
* [Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. ↵Alexey Samsonov2012-10-027-92/+109
| | | | | | Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization. llvm-svn: 165000
* tsan: wait for pending reports before exitDmitry Vyukov2012-10-021-0/+4
| | | | llvm-svn: 164999
* tsan: output tid's in reportsDmitry Vyukov2012-10-0213-9/+20
| | | | llvm-svn: 164998
* tsan: run output tests in parallelDmitry Vyukov2012-10-021-2/+4
| | | | llvm-svn: 164997
* Add default JIT LIT variable.James Molloy2012-10-024-3/+8
| | | | | | Patch by David Tweed! llvm-svn: 164996
* -arch is a darwin-specific driver feature, use a triple instead in rewriter ↵Benjamin Kramer2012-10-021-3/+1
| | | | | | test. llvm-svn: 164995
* Force triple in test to unbreak it on non-darwin platforms.Benjamin Kramer2012-10-021-2/+2
| | | | llvm-svn: 164994
* Merge pending instantiations instead of overwriting existing ones.Axel Naumann2012-10-0213-85/+178
| | | | | | | | | | | Check whether a pending instantiation needs to be instantiated (or whether an instantiation already exists). Verify the size of the PendingInstantiations record (was only checking size of existing PendingInstantiations). Migrate Obj-C++ part of redecl-merge into separate test, now that this is growing. templates.mm: test that CodeGen has seen exactly one definition of template instantiations. redecl-merge.m: use "@" specifier for expected-diagnostics. llvm-svn: 164993
* Use an environment variable instead of what's in the make cmd goals.Bill Wendling2012-10-021-1/+1
| | | | llvm-svn: 164992
* <rdar://problem/11791234>Greg Clayton2012-10-021-1/+1
| | | | | | | | | Shared libraries on MacOSX were not properly being removed from the shared module list when re-running a debug session due to an error in: Module::MatchesModuleSpec() llvm-svn: 164991
* Tweak diagnostic text to indicate that __weak on a local variable is only ↵Ted Kremenek2012-10-023-2/+21
| | | | | | | | allowed for ARC. Fixes <rdar://problem/12407705> llvm-svn: 164990
* Add FP_CONTRACT support for clang.Lang Hames2012-10-0221-43/+229
| | | | | | | | Clang will now honor the FP_CONTRACT pragma and emit LLVM fmuladd intrinsics for expressions of the form A * B + C (when they occur in a single statement). llvm-svn: 164989
* Check if an IdentifierInfo* is null when the FunctionDecl isn't a simple C ↵Ted Kremenek2012-10-021-2/+6
| | | | | | | | function. Fixes <rdar://problem/12355298> llvm-svn: 164988
* Re-enable this test to reflect re-enabling the new SROA pass.Chandler Carruth2012-10-021-4/+0
| | | | llvm-svn: 164987
* Turn the new SROA pass back on. Let's see if it sticks this time. =]Chandler Carruth2012-10-021-1/+1
| | | | | | Again, let me know if anything breaks due to this! llvm-svn: 164986
* Handle KASLR kernel loading for kernel corefiles.Jason Molenda2012-10-023-57/+79
| | | | | | | | Reduce the amount of output that DynamicLoaderDarwinKernel prints for each kext it loads. <rdar://problem/7714201> llvm-svn: 164985
* -Wformat: Don't check format strings in uninstantiated templates.Jordan Rose2012-10-023-4/+142
| | | | | | | | | | | | | Also applies to -Wnonnull, -Wtype-safety, and -Wnon-pod-varargs. All of these can be better checked at instantiation time. This change does not actually affect regular CallExpr function calls, since the checks there only happen after overload resolution. However, it will affect Objective-C method calls. <rdar://problem/12373934> llvm-svn: 164984
* Fix 80-column violations. Cleanup whitespace in generated code.Chad Rosier2012-10-021-15/+23
| | | | llvm-svn: 164983
* clang/test/Index: Fix two tests. Both %S and %t are expanded to absolute paths.NAKAMURA Takumi2012-10-022-5/+5
| | | | llvm-svn: 164982
* Emit symbol tables.Hemant Kulkarni2012-10-013-283/+474
| | | | | | | Reorganize to derive all sections from SectionChunk. Construct section table header from SectionChunk. llvm-svn: 164981
* [ms-inline asm] Use the convertToMapAndConstraints() function in the front-end.Chad Rosier2012-10-011-62/+72
| | | | | | Rework the logic to account for the fact that we no longer create a MCInst. llvm-svn: 164980
* [ms-inline asm] Add the convertToMapAndConstraints() function that is used toChad Rosier2012-10-016-87/+91
| | | | | | | | | | | map constraints and MCInst operands to inline asm operands. This replaces the getMCInstOperandNum() function. The logic to determine the constraints are not in place, so we still default to a register constraint (i.e., "r"). Also, we no longer build the MCInst but rather return just the opcode to get the MCInstrDesc. llvm-svn: 164979
* [clang-tests] Changed relative paths to absolute paths in run command for ↵Michael Gottesman2012-10-013-9/+9
| | | | | | | | annotate-macro-args.m, get-cursor-macro-args.m, import_self.c. This fixes make check-all failures when make -C is used to run the tests. llvm-svn: 164978
* Modern translator test. Breakup test into two andFariborz Jahanian2012-10-012-8/+28
| | | | | | skip the x86_64 version for mingw32 and win32. llvm-svn: 164977
* This change:Sid Manning2012-10-017-20/+70
| | | | | | | | | | * Updates ReaderELF.cpp contentType method to match ELF.h's logic and now handle typeData * Add -arch to ldd-core testdriver * Add testcase to check typeData * Update others to stay in sync with this change. llvm-svn: 164976
* test/CodeGen/X86/red-zone2.ll: Add -mtriple=x86_64-linux, and FileCheck-ize.NAKAMURA Takumi2012-10-011-3/+4
| | | | llvm-svn: 164975
* MachO: direct-to-object attribute for data-in-code markers.Jim Grosbach2012-10-016-7/+125
| | | | | | | | | | The target backend can support data-in-code load commands even when the assembler doesn't, or vice-versa. Allow targets to opt-in for direct-to-object. PR13973. llvm-svn: 164974
* <rdar://problem/12349509> Renaming the structure that we use for ↵Enrico Granata2012-10-011-3/+3
| | | | | | NSDictionary children llvm-svn: 164973
* checking test case for r164811. was an omission to not check this in. this ↵Reed Kotler2012-10-011-0/+41
| | | | | | was already approved llvm-svn: 164972
* Rename a test I just added.Fariborz Jahanian2012-10-011-0/+0
| | | | llvm-svn: 164971
* objective-C modern translator. Test for producing bothFariborz Jahanian2012-10-011-0/+34
| | | | | | | 32bit and 64bit version of modern translator. // rdar://12189793 llvm-svn: 164970
* [ms-inline asm] Expose the getReg() function in the base class.Chad Rosier2012-10-011-0/+2
| | | | llvm-svn: 164969
* Fix treatment of case which came up on std-proposals@: 'void' is permitted ↵Richard Smith2012-10-012-3/+19
| | | | | | in core constant expressions, despite not being a literal type. llvm-svn: 164968
* PR13978: A 'decltype' DeclSpec has an expression representation, not a typeRichard Smith2012-10-012-1/+16
| | | | | | | representation. Fix crash if it appears in the return type of a member function definition. llvm-svn: 164967
* Move isObjCSelf into Expr.Anna Zaks2012-10-014-33/+29
| | | | llvm-svn: 164966
* [analyzer] Address Jordan's review for r164868.Anna Zaks2012-10-011-16/+14
| | | | llvm-svn: 164965
OpenPOWER on IntegriCloud