- Dec 23, 2013
-
-
Richard Sandiford authored
The old code only worked for one index operand. Also handle "inbounds". llvm-svn: 197908
-
Kostya Serebryany authored
Summary: Before this change the instrumented code before Ret instructions looked like: <Unpoison Frame Redzones> if (Frame != OriginalFrame) // I.e. Frame is fake <Poison Complete Frame> Now the instrumented code looks like: if (Frame != OriginalFrame) // I.e. Frame is fake <Poison Complete Frame> else <Unpoison Frame Redzones> Reviewers: eugenis Reviewed By: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2458 llvm-svn: 197907
-
Daniel Jasper authored
Introduced in r197900. llvm-svn: 197906
-
Kostya Serebryany authored
llvm-svn: 197904
-
Alp Toker authored
Spotted by Edward llvm-svn: 197903
-
Alp Toker authored
The TextDiagnosticBuffer is meant to scrub SourceLocations as the input/output SourceManagers may be different. To be safe this commit restores the original behaviour though in practice all current users seem to share a single SM. Would be nice to replace TextDiagnosticBuffer now that more capable interfaces like CaptureDiagnosticConsumer / StoredDiagnosticConsumer exist. llvm-svn: 197902
-
Kostya Serebryany authored
llvm-svn: 197901
-
Daniel Jasper authored
Among other things, this fixes llvm.org/PR15269. llvm-svn: 197900
-
Kostya Serebryany authored
[asan] convert a CHECK failure in __sanitizer_annotate_contiguous_container into a proper warning message llvm-svn: 197899
-
Hao Liu authored
[AArch64]The compare to zero intrinsics should be implemented by 'icmp/fcmp' and 'sext' not 'zext'. Modify the implementation by replacing zext with sext. llvm-svn: 197898
-
Hao Liu authored
[AArch64]The compare to zero intrinsics should be implemented by 'icmp/fcmp' and 'sext' not 'zext'. Modify the test cases. llvm-svn: 197897
-
- Dec 22, 2013
-
-
Alp Toker authored
These names weren't referred to anywhere in the source so don't need a written name. Depends on the TableGen fix for anonymous records in LLVM r197869. llvm-svn: 197896
-
Alp Toker authored
This is needed to guard an upcoming feature in clang until the C++11 transition is complete, at which point it can be removed. llvm-svn: 197895
-
Yaron Keren authored
where it's only bool-like 1/0 result like std::set.count(). Some of the LLVM ADT already return unsigned count(), while others return bool count(). This patch modifies SmallPtrSet, SmallSet, SparseSet count() to return unsigned instead of bool: 1 instead of true 0 instead of false More ADT to follow. llvm-svn: 197879
-
Roman Divacky authored
llvm-svn: 197878
-
Benjamin Kramer authored
This tag isn't emitted by any compiler at the moment. PR18306. llvm-svn: 197877
-
Elena Demikhovsky authored
llvm-svn: 197876
-
Roman Divacky authored
llvm-svn: 197875
-
Enrico Granata authored
Centralize the code for GetValueAsCString() in TypeFormatImpl (the implementing class of "type format ...") TypeFormatImpl used to just wrap a Format (and Flags for matching), and then ValueObject itself would do the printing deed With this checkin, the responsibility of generating a value string is centralized in the data formatter (as it should, and already is for summaries) This change is good practice per se, and should also enable us to extend the type format mechanism in a cleaner way llvm-svn: 197874
-
Michael Kuperstein authored
llvm-svn: 197873
-
Alp Toker authored
llvm-svn: 197872
-
- Dec 21, 2013
-
-
Alp Toker authored
llvm-svn: 197870
-
Alp Toker authored
Backends like OptParserEmitter assume that record names can be used as valid identifiers. The period '.' in generated anonymous names broke that assumption, causing a build-time error and in practice forcing all records to be named. llvm-svn: 197869
-
Aaron Ballman authored
Removing the alloc_size attribute. The attribute was semantically handled, but silently ignored. Most of this feature was already reverted in June 2012 (r159016), this just cleans up the pieces left over. llvm-svn: 197866
-
Aaron Ballman authored
The const and nothrow attributes can be handled by the simple attribute handler. This removes a silent dropping of the attributes when they are duplicated on a Decl. llvm-svn: 197864
-
-
Enrico Granata authored
llvm-svn: 197860
-
Enrico Granata authored
The one-line printing facility is used by StringSummaryFormat, but that's no reason to have it be part of the public interface of ValueObjectPrinter That's what friendship is for llvm-svn: 197859
-
Enrico Granata authored
There is no need to use the expression parser to generate true and false - writing in a buffer is good enough llvm-svn: 197858
-
Jason Molenda authored
it needs to fall back to using the HostArchitecture if a valid one is not returned. When doing low-level system debugging we may not have a process (or the remote stub may not support the qProcessInfo packet) in which case we should fall back to the architecture we determined via qHostInfo. <rdar://problem/15713180> llvm-svn: 197857
-
Alp Toker authored
DiagIDs are a cached resource generally only constructed from compile-time constant or stable format strings. Escaping arbitrary messages and constructing DiagIDs from them didn't make sense. llvm-svn: 197856
-
Alp Toker authored
This was setting a bad example. DiagIDs are a limited resource and the message argument is evaluated as a format string. llvm-svn: 197855
-
Richard Trieu authored
This new warning detects when a function will recursively call itself on every code path though that function. This catches simple recursive cases such as: void foo() { foo(); } As well as more complex functions like: void bar() { if (test()) { bar(); return; } else { bar(); } return; } This warning uses the CFG. As with other CFG-based warnings, this is off by default. Due to false positives, this warning is also disabled for templated functions. llvm-svn: 197853
-
NAKAMURA Takumi authored
[CMake] clang/lib/Headers: Install just-generated ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h, instead of copied arm_neon.h. llvm-svn: 197852
-
Nick Kledzik authored
It will configure resonable defaults for other settings in the MachOLinkingContext object based on the parameters. Patch by Joe Ranieri llvm-svn: 197851
-
Alp Toker authored
Sema relies on this assumption. Follow-up to r197848. llvm-svn: 197850
-
Richard Trieu authored
intentional stack overflow. llvm-svn: 197849
-
Nico Weber authored
Without this patch, record decls with invalid out-of-line method delcs would sometimes be marked invalid, but not always. With this patch, they are consistently never marked invalid. (The code to do this was added in http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20100809/033154.html , but the test from that revision is still passing.) As far as I can tell, this was the only place where a class was marked invalid after its definition was complete. llvm-svn: 197848
-
Tobias Grosser authored
llvm-svn: 197847
-
Mark Lacey authored
llvm-svn: 197846
-