- Mar 03, 2014
-
-
Benjamin Kramer authored
llvm-svn: 202757
-
Greg Clayton authored
llvm-svn: 202756
-
Benjamin Kramer authored
No functionality change. llvm-svn: 202755
-
Diego Novillo authored
This needs to modify a line table test to account for the new lexical block created to hold the new discriminator value. llvm-svn: 202754
-
Benjamin Kramer authored
libstdc++ and libc++ pulled this in transitively so I didn't notice. llvm-svn: 202753
-
Diego Novillo authored
DWARF discriminators are used to distinguish multiple control flow paths on the same source location. When this happens, instructions across basic block boundaries will share the same debug location. This pass detects this situation and creates a new lexical scope to one of the two instructions. This lexical scope is a child scope of the original and contains a new discriminator value. This discriminator is then picked up from MCObjectStreamer::EmitDwarfLocDirective to be written on the object file. This fixes http://llvm.org/bugs/show_bug.cgi?id=18270. llvm-svn: 202752
-
Benjamin Kramer authored
No functionality change. llvm-svn: 202751
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D2923 llvm-svn: 202750
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D2811 llvm-svn: 202749
-
Benjamin Kramer authored
It's not needed anymore. llvm-svn: 202748
-
Jordan Rose authored
Always run the test again, even for a trivial change... llvm-svn: 202747
-
Jordan Rose authored
llvm-svn: 202746
-
Argyrios Kyrtzidis authored
[libclang] Have clang_getCursorSpelling() return the string for a CXCursor_ObjCStringLiteral or CXCursor_StringLiteral cursor. rdar://16206459 llvm-svn: 202745
-
Chandler Carruth authored
predicate. The wrapper used by SetVector was erroneously requiring an adaptable predicate. It has been fixed and we really don't want to require an indirect call for every predicate evaluation. llvm-svn: 202744
-
Tobias Grosser authored
The module LLVMPolly.so links to that. There is really no reason to build a large number of mini-libraries here, especially as we do have dependences between the libraries that are not properly handled and that make linking fail on darwin. Submitted-by:
David Fang <fang@csl.cornell.edu> llvm-svn: 202743
-
Chandler Carruth authored
remove_if that its predicate is adaptable. We don't actually need this, we can write a generic adapter for any predicate. This lets us remove some very wrong std::function usages. We should never be using std::function for predicates to algorithms. This incurs an *indirect* call overhead for every evaluation of the predicate, and makes it very hard to inline through. llvm-svn: 202742
-
Marshall Clow authored
Implement LWG 2324: Insert iterator constructors should use addressof(). Add two new container classes to the test suite that overload operator &, and add test cases to the insert/front_insert/back_insert iterator tests that use these containers. llvm-svn: 202741
-
Jim Ingham authored
llvm-svn: 202740
-
Marshall Clow authored
llvm-svn: 202739
-
Greg Clayton authored
"size_t" isn't always 64 bit, it is 32 bit on 32 bit systems. All printf style statements that were assuming size_t were 64 bit were changed, and they were also changed to display them as unsigned values as "size_t" isn't signed. If you print anything with 'size_t', please cast it to "uint64_t" in the printf and use PRIu64 or PRIx64. llvm-svn: 202738
-
Diego Novillo authored
Create lexical blocks with discriminator value 0 by default. llvm-svn: 202737
-
Diego Novillo authored
This adds support for emitting discriminators from DILexicalBlocks. llvm-svn: 202736
-
Lang Hames authored
llvm-svn: 202735
-
Aaron Ballman authored
I guess we're still using LLVM_DELETED_FUNCTION instead of = delete. This should fix a complaining built bot. llvm-svn: 202734
-
Jordan Rose authored
Serialized diagnostics were accidentally using the AST diagnostic level values rather than a dedicated stable enum, so the addition of "remark" broke the reading of existing serialized diagnostics files. I've added a .dia file generated from Xcode 5's Clang to make sure we don't break this in the future. llvm-svn: 202733
-
Reid Kleckner authored
llvm-svn: 202732
-
Benjamin Kramer authored
Breaks the MSVC build. DataStream.cpp(44): error C2552: 'llvm::Statistic::Value' : non-aggregates cannot be initialized with initializer list llvm-svn: 202731
-
Benjamin Kramer authored
With C++11 we finally have a standardized way to specify atomic operations. Use them to replace the existing custom implemention. Sadly the translation is not entirely trivial as std::atomic allows more fine-grained control over the atomicity. I tried to preserve the old semantics as well as possible. Differential Revision: http://llvm-reviews.chandlerc.com/D2915 llvm-svn: 202730
-
Duncan P. N. Exon Smith authored
It's easy to copy unintentionally when using 'auto', particularly inside range-based for loops. Best practise is to use 'const&' unless there's a good reason not to. llvm-svn: 202729
-
Duncan P. N. Exon Smith authored
The current coding standards restrict the use of struct to PODs, but no one has been following them. This patch updates the standards to clarify when structs are dangerous and describe common practice in LLVM. llvm-svn: 202728
-
Aaron Ballman authored
llvm-svn: 202727
-
Deepak Panickal authored
llvm-svn: 202726
-
Deepak Panickal authored
llvm-svn: 202725
-
Deepak Panickal authored
llvm-svn: 202724
-
Deepak Panickal authored
llvm-svn: 202723
-
Ed Maste authored
This seems reasonable and the BackticksWithNoTargetTestCase suggests it should be this way. llvm-svn: 202722
-
Tom Stellard authored
llvm-svn: 202721
-
Tom Stellard authored
The shared library generated by autoconf will now be called libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)$(VERSION_SUFFIX).so and a symlink named libLLVM-$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_SUFFIX).so will also be created in the install directory. llvm-svn: 202720
-
Richard Osborne authored
Summary: Previously llvm-config --system-libs would print something like: $ llvm-config --system-libs -lz -ltinfo -lrt -ldl -lm Now we don't emit blank line. Functionality is unchanged otherwise, in particular llvm-config --libs --system-libs still emits the LLVM libraries and the system libraries on different lines. Reviewers: chapuni Reviewed By: chapuni CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2901 llvm-svn: 202719
-
Ed Maste authored
llvm-svn: 202718
-