- Feb 27, 2013
-
-
Greg Clayton authored
Fixed a case where the result of std::string's c_str() method was being called on a local variable and returned as a const char * incorrectly. We used to cache the thread names for threads in the current host process, but we shoudn't be caching that as the names can change over time, so now a std::string is returned from Host::GetThreadName(). llvm-svn: 176217
-
David Blaikie authored
llvm-svn: 176216
-
David Blaikie authored
Functionality committed in r172585 but tested the function case without the array case. llvm-svn: 176215
-
Nadav Rotem authored
The FastISEL should be fast. But when we record statistics we use atomic operations to increment the counters. This patch disables the counters on non-debug builds. This reduces the runtime of SelectionDAGISel::SelectCodeCommon by ~5%. llvm-svn: 176214
-
David Blaikie authored
Test case is missing due to it not being reachable through the current tools but out of tree code such as the sample at http://llvm.org/docs/tutorial/LangImpl4.html Patch by Peng Cheng <gm4cheng@gmail.com> llvm-svn: 176213
-
Jim Grosbach authored
rdar://13306723 llvm-svn: 176212
-
Renato Golin authored
llvm-svn: 176211
-
Greg Clayton authored
llvm-svn: 176210
-
Chad Rosier authored
llvm-svn: 176208
-
Shankar Easwaran authored
llvm-svn: 176207
-
Matt Kopec authored
llvm-svn: 176206
-
Michael J. Spencer authored
llvm-svn: 176205
-
Michael Ilseman authored
llvm-svn: 176204
-
Jim Ingham authored
in the Process destructor. Doing it there can be too late depending on what the internal state and ProcessGDBRemote Async threads are doing. <rdar://problem/13297536> llvm-svn: 176203
-
Jordan Rose authored
llvm-svn: 176202
-
Jordan Rose authored
Consider this case: int *p = 0; p = getPointerThatMayBeNull(); *p = 1; If we inline 'getPointerThatMayBeNull', we might know that the value of 'p' is NULL, and thus emit a null pointer dereference report. However, we usually want to suppress such warnings as error paths, and we do so by using FindLastStoreBRVisitor to see where the NULL came from. In this case, though, because 'p' was NULL both before and after the assignment, the visitor would decide that the "last store" was the initialization, not the re-assignment. This commit changes FindLastStoreBRVisitor to consider all PostStore nodes that assign to this region. This still won't catches changes made directly by checkers if they re-assign the same value, but it does handle the common case in user-written code and will trigger ReturnVisitor's suppression machinery as expected. <rdar://problem/13299738> llvm-svn: 176201
-
Jordan Rose authored
This enables constructor inlining for types with non-trivial destructors. The plan is to enable destructor inlining within the next month, but that needs further verification. <rdar://problem/12295329> llvm-svn: 176200
-
Sean Silva authored
llvm-svn: 176199
-
Chad Rosier authored
single translation unit should prevent later phases from executing. Otherwise, this generates lots of noise in build systems. This a fallout from r173825. Patch by Matthew Curtis <mcurtis@codeaurora.org>. rdar://13298009 llvm-svn: 176198
-
Aaron Ballman authored
llvm-svn: 176197
-
Sean Silva authored
llvm-svn: 176195
-
Aaron Ballman authored
llvm-svn: 176193
-
Shankar Easwaran authored
llvm-svn: 176192
-
Dmitri Gribenko authored
Patch by Ariel Bernal llvm-svn: 176191
-
Daniel Malea authored
- pull up logic to get compiler version from TestUniqueTypes.py into lldbtest.py - work around an GCC 4.6.3 issue llvm-svn: 176190
-
Tim Northover authored
This fixes an issue where trying to assemlbe valid ADR instructions would cause LLVM to hit a failed assertion. Patch by Keith Walker. llvm-svn: 176189
-
Benjamin Kramer authored
This properly asks TargetLibraryInfo if a call is available and if it is, it can be translated into the corresponding LLVM builtin. We don't vectorize sqrt() yet because I'm not sure about the semantics for negative numbers. The other intrinsic should be exact equivalents to the libm functions. Differential Revision: http://llvm-reviews.chandlerc.com/D465 llvm-svn: 176188
-
Simon Atanasyan authored
(means n64 abi) to improve compatibility with GNU tools. Patch by Jia Liu <proljc@gmail.com>. llvm-svn: 176187
-
Timur Iskhodzhanov authored
llvm-svn: 176186
-
Kostya Serebryany authored
[asan] if calloc returns a freshly-mmaped memory, don't clear it with memset. Speeds up calloc-intensive code llvm-svn: 176185
-
Edwin Vane authored
To afford hand-written tests access to any auto-generated headers, a lit.site.cfg is now created for cpp11-migrate's test directory providing a new config.substition. Tests can refer to %gen_root in the LIT script. Removed use of --param clang_site_config. Not necessary when running tests using the build system. llvm-svn: 176184
-
Alexey Samsonov authored
llvm-svn: 176183
-
Alexey Samsonov authored
[UBSan] Use common report decorator to print colorful diagnostics in UBSan, and be more consistent w/ Printf/RawWrite llvm-svn: 176182
-
Manuel Klimek authored
Otherwise it'll break if there's a record type in the AST by default. llvm-svn: 176181
-
Daniel Jasper authored
Before: a[a* a] = 1; After: a[a * a] = 1; llvm-svn: 176180
-
Kostya Serebryany authored
ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code. Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself. Patch by Sergey Matveev llvm-svn: 176179
-
Alexey Samsonov authored
[Sanitizer] Change driver behavior when linking with -fsanitize=thread and -fsanitize=memory. TSan/MSan also provide their versions of new/delete and should use the same strategy as ASan. Share the code that sets linker flags for all sanitizers. llvm-svn: 176178
-
Daniel Jasper authored
After some discussions, it seems that this is the better path in the long run. Does not change Chromium style, as there, bin packing is forbidden by the style guide. Also fix two minor bugs wrt. formatting: 1. If a call parameter is a function call itself and is split before the "." or "->", split before the next parameter. 2. If a call parameter is string literal that has to be split onto two lines, split before the next parameter. llvm-svn: 176177
-
Nick Lewycky authored
change! llvm-svn: 176176
-
Kostya Serebryany authored
llvm-svn: 176175
-