summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DebugInfo: Rename generic unit references to "TheU" instead of TheCU now ↵David Blaikie2013-12-023-65/+65
| | | | | | | | that they might be type units instead of compile units. CR feedback from Eric Christopher on r196139. llvm-svn: 196159
* Debug Info: drop debug info via upgrading path if version number does not match.Manman Ren2013-12-028-5/+64
| | | | | | | | | | | | | | Add a helper function getDebugInfoVersionFromModule to return the debug info version number for a module. "Verifier/module-flags-1.ll" checks for verification errors. It will seg fault when calling getDebugInfoVersionFromModule because of the incorrect format for module flags in the testing case. We make getModuleFlagsMetadata more robust by checking for error conditions. PR17982 llvm-svn: 196158
* Update Ocaml/vmcore.ml to emit a "Debug Info Version" module flag.Manman Ren2013-12-021-12/+13
| | | | llvm-svn: 196156
* The CUDA device attribute doesn't need custom logic to check the number of ↵Aaron Ballman2013-12-021-14/+2
| | | | | | attribute arguments (the common attribute handler already does this). Switching to use the simple attribute handler. No functional change intended. llvm-svn: 196155
* [AArch64] Implemented vcopy_lane patterns using scalar DUP instruction.Chad Rosier2013-12-022-3/+56
| | | | | | Patch by Ana Pazos! llvm-svn: 196153
* [AArch64] Add missing NEON scalar floating-point to integer convert ACLEs.Chad Rosier2013-12-025-23/+121
| | | | llvm-svn: 196152
* [AArch64] Implemented vcopy_lane patterns using scalar DUP instruction.Chad Rosier2013-12-022-28/+105
| | | | | | Patch by Ana Pazos! llvm-svn: 196151
* InlineFunction.cpp: Remove a return value that is always falseMark Seaborn2013-12-021-11/+3
| | | | | | | | Remove some associated dead code. This cleanup is associated with PR17872. llvm-svn: 196147
* Ensure parsed debug arange data is sortedEd Maste2013-12-021-0/+1
| | | | | | llvm.org/pr18114 llvm-svn: 196146
* Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.Manman Ren2013-12-021-1/+1
| | | | | | | Suggested by Eric. Paired commit with r196144. llvm-svn: 196145
* Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.Manman Ren2013-12-022-1/+4
| | | | | | Suggested by Eric. llvm-svn: 196144
* Expand comments for Debug Info Version.Manman Ren2013-12-021-1/+4
| | | | llvm-svn: 196143
* Rectifying style issues with generated code. No functional change intended.Aaron Ballman2013-12-021-4/+4
| | | | llvm-svn: 196142
* Fixed internal code to not link against and code from "lldb/API/*". Greg Clayton2013-12-0220-135/+147
| | | | | | | | | | lldb_private::Debugger was #including some "lldb/API" header files which causes tools (lldb-platform and lldb-gdbserver) that link against the internals only (no API layer) to fail to link depending on which calls were being used. Also fixed the current working directory so that it gets set correctly for remote test suite runs. Now the remote working directory is set to: "ARCH/TESTNUM/..." where ARCH is the current architecture name and "TESTNUM" is the current test number. Fixed the "lldb-platform" and "lldb-gdbserver" to not warn about mismatched visibility settings by having each have their own exports file which contains nothing. This forces all symbols to not be exported, and also quiets the linker warnings. llvm-svn: 196141
* DebugInfo: Rename DwarfCompileUnit.* to DwarfUnit.* to match their contents.David Blaikie2013-12-025-4/+4
| | | | llvm-svn: 196140
* DebugInfo: Refactor CompileUnit into a Unit baseclass and ↵David Blaikie2013-12-024-181/+183
| | | | | | | | | | CompileUnit/TypeUnit derived classes. Header/cpp file rename to follow immediately - just splitting out the commits for ease of review/reading to demonstrate that the renaming changes are entirely mechanical. llvm-svn: 196139
* Automate attribute language option checking by specifying the list of ↵Aaron Ballman2013-12-025-157/+140
| | | | | | options to test in tablegen. llvm-svn: 196138
* ClangFormatPackage.cs: fix inconsistent line endingsHans Wennborg2013-12-021-1/+1
| | | | llvm-svn: 196131
* DebugInfo: Type Units: Propagate the correct DW_AT_language into type units.David Blaikie2013-12-024-7/+35
| | | | llvm-svn: 196130
* Conservative fix for PR17827 - don't optimize a shift + and + compare ↵Kay Tiong Khoo2013-12-022-4/+86
| | | | | | sequence where the shift is logical unless the comparison is unsigned llvm-svn: 196129
* Request for review: Fix build-llvm.plJean-Daniel Dupas2013-12-021-3/+1
| | | | | | | | | | | | Summary: - Stop to try to rebuild llvm on each invocation by removing the invalid library entry libLLVMArchive.a which no longer exists. - Remove the useless ranlib invocation. "libtools -static" automatically takes care of the archive table of content. CC: lldb-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2296 llvm-svn: 196128
* Found two identical files named 'allocators.h' in the libcxx test suite. ↵Marshall Clow2013-12-0230-202/+28
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196127
* Factored attribute mutual exclusion code into a helper function; split the ↵Aaron Ballman2013-12-021-35/+37
| | | | | | cf_audited_transfer and cf_unknown_transfer attributes into separate helper methods for simplicity. No functional changes intended. llvm-svn: 196126
* elf: Move elf note parsing to ObjectFileELF.cppEd Maste2013-12-023-90/+76
| | | | | | | | | Separate ELF note implementations were introduced for core files and GNU build-id. Move the more general one from elf-core to ObjectFileELF and use it for build-id as well. Review: http://llvm-reviews.chandlerc.com/D1902 llvm-svn: 196125
* clang-format vs plugin: use Alp's suggestion for getting the pathHans Wennborg2013-12-021-2/+2
| | | | llvm-svn: 196124
* Fix a typo in a comment: expasion -> expansionJames Dennett2013-12-021-1/+1
| | | | llvm-svn: 196123
* clang-format vs plugin: bake clang-format.exe into the vsixHans Wennborg2013-12-023-1/+11
| | | | | | | | | | | This makes the clang-format plugin self-contained. Instead of requiring clang-format.exe to be available on the PATH, this includes it in the plugin's installer (.vsix file) and runs it from the install directory. Differential Revision: http://llvm-reviews.chandlerc.com/D2281 llvm-svn: 196122
* R600: Workaround for cayman loop bugVincent Lejeune2013-12-023-0/+46
| | | | llvm-svn: 196121
* Re-enabled support for the Subjects for the weak attribute. This changes the ↵Aaron Ballman2013-12-026-24/+16
| | | | | | diagnostic involved to be more accurate -- for C++ code, it will now report that weak applies to variables, functions or classes. Added additional test case for this. llvm-svn: 196120
* Rewriter: Output RewriteRope contents efficientlyAlp Toker2013-12-022-3/+11
| | | | | | | | | This avoids allocation of temporary std::strings for file contents, instead writing chunks directly to the output stream. The old character-based B-tree iterator remains intact for the time being. llvm-svn: 196119
* Found two identical files named 'DefaultOnly.h' in the libcxx test suite. ↵Marshall Clow2013-12-0225-49/+23
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196118
* Move getSymbolWithGlobalValueBase to TargetLoweringObjectFile.Rafael Espindola2013-12-028-27/+27
| | | | | | This allows it to be used in TargetLoweringObjectFileImpl.cpp. llvm-svn: 196117
* The __w64 attribute handler was more generically named, but only applied to ↵Aaron Ballman2013-12-021-8/+4
| | | | | | __w64 specifically. Renamed and removed some unused code. No functional change intended. llvm-svn: 196116
* Assume ARMv6 for NetBSD for now for strex/ldrex.Joerg Sonnenberger2013-12-021-0/+1
| | | | llvm-svn: 196115
* NetBSD uses long derived size_t / ssize_t in all ARM ABIs.Joerg Sonnenberger2013-12-021-2/+4
| | | | llvm-svn: 196114
* Introduce poor man's consumeToken() in X86AsmParserAlp Toker2013-12-021-18/+13
| | | | | | | | This makes the code a little more idiomatic. No change in behaviour. llvm-svn: 196113
* [sanitizer] Allow InternalMmapVector construction with zero capacity.Sergey Matveev2013-12-021-2/+1
| | | | llvm-svn: 196112
* Remove dead code.Rafael Espindola2013-12-028-83/+0
| | | | | | | | | MO_JumpTableIndex and MO_ExternalSymbol don't show up on inline asm. Keeping parts of the old asm printer just to print inline asm to a string that we then parse back looks like a hack. llvm-svn: 196111
* The FieldDecl is already covered by the ValueDecl case, so it is being removed.Aaron Ballman2013-12-021-2/+0
| | | | llvm-svn: 196110
* Adapt the code to the interface change in r196108.Alexander Kornienko2013-12-021-1/+1
| | | | llvm-svn: 196109
* Added an option to specify fallback style.Alexander Kornienko2013-12-024-16/+29
| | | | | | | | | | | | | | | | Summary: Added -fallback-style option. Changed clang-format to stop searching for .clang-format when an invalid file is found. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2292 llvm-svn: 196108
* Switching the ibaction attribute handler to the generalized handler. No ↵Aaron Ballman2013-12-021-6/+2
| | | | | | functional change intended. llvm-svn: 196107
* Add tests for profile sample file parsing.Diego Novillo2013-12-026-0/+45
| | | | | | | The profile file parser needed some tests for its parsing actions. This adds tests for each of the error messages emitted by the parser. llvm-svn: 196106
* Replacing custom subject application logic with table-generated logic. ↵Aaron Ballman2013-12-022-59/+17
| | | | | | Affects: guarded_var, pt_guarded_var, guarded_by, pt_guarded_by, acquired_after and acquired_before. No functional change intended. llvm-svn: 196105
* Output .eh_frames on COFF too now that the integrated as is used on mingw.Rafael Espindola2013-12-022-0/+15
| | | | llvm-svn: 196104
* Using the proper set key when determining whether a SubsetSubject helper ↵Aaron Ballman2013-12-021-2/+3
| | | | | | method has been previously generated. llvm-svn: 196103
* ARM: decide whether to use movw/movt based on "minsize" attribute.Tim Northover2013-12-029-14/+49
| | | | llvm-svn: 196102
* test: Decorators for pr17910Ed Maste2013-12-022-14/+14
| | | | | | | | | | | | A number of tests fail to build on FreeBSD because the test build script defaults to libstdc++ for clang. On FreeBSD the libstdc++ is rather old and libc++ should be used instead. (These tests previously had an @expectedFailureFreeBSD decorator for pr16696, the umbrella PR for the lack of threaded inferior support on FreeBSD. The work to add that support will be committed soon.) llvm-svn: 196101
* Cut the gold plugin README down to sizeAlp Toker2013-12-021-14/+6
| | | | | | | This file hasn't been updated in years. Remove old information and point to the current documentation at GoldPlugin.rst. llvm-svn: 196100
* Fix dominator descendants for unreachable blocks.Diego Novillo2013-12-022-1/+30
| | | | | | | | | | | | | When a block is unreachable, asking its dom tree descendants should return the empty set. However, the computation of the descendants was causing a segmentation fault because the dom tree node we get from the basic block is initially NULL. Fixed by adding a test for a valid dom tree node before we iterate. The patch also adds some unit tests to the existing dom tree tests. llvm-svn: 196099
OpenPOWER on IntegriCloud