- Feb 27, 2013
-
-
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
-
Nick Lewycky authored
llvm-svn: 176174
-
Nick Lewycky authored
passing a null pointer to the function name in to GCDAProfiling, and add another switch onto GCOVProfiling. llvm-svn: 176173
-
Nick Lewycky authored
not llvm. llvm-svn: 176172
-
Nadav Rotem authored
llvm-svn: 176171
-
Nadav Rotem authored
For each function that we optimize we initialize a new list of lib functions. For each function name we malloc memory. This patch changes the Libcall map to use BumpPtrAllocator. Now we malloc only once. This speeds up instcombine by a few % on a large c++ program. llvm-svn: 176170
-
Shankar Easwaran authored
llvm-svn: 176169
-
Nick Lewycky authored
clean up this code a tiny bit. No functionality change. llvm-svn: 176168
-
Shankar Easwaran authored
llvm-svn: 176167
-
Nadav Rotem authored
llvm-svn: 176166
-
Reed Kotler authored
llvm-svn: 176165
-
Rafael Espindola authored
Since r175326 an implicitly hidden template argument can cause a template installation to become hidden, even if the template itself has an explicit default visibility. This requires that we keep track of "late" additions of the visibility attribute. This is hopefully the last followup change. It just removes the caching of visibilities from types so that we can see new attributes even after a type has been used. llvm-svn: 176164
-
Lang Hames authored
bitfield. CGBitField::StorageAlignment holds the alignment in chars, but emitMemcpy had been treating it as if it were held in bits, leading to underaligned memcpys. Related to PR15348. Thanks very much to Chandler for the diagnosis. llvm-svn: 176163
-
Shankar Easwaran authored
llvm-svn: 176162
-
Reed Kotler authored
It will only be used for Mips 16 at this time. llvm-svn: 176161
-
Jason Molenda authored
binary to lldb already check that the UUID of that binary and the UUID of the kernel binary in memory match. Warn if they don't. <rdar://problem/13184784> llvm-svn: 176160
-
Rafael Espindola authored
llvm-svn: 176159
-
rdar://problem/13289828Enrico Granata authored
Categories were conceptually meant to be placeable on test methods as well as test classes and test directories However, that was broken. This checkin fixes that. The incantation required to put categories on individual test case methods is not exactly elegant, unfortunately: def test_case(self): """Test me.""" self.do_it() def _test_case_get_categories(self): return ["demo"] test_case.getCategories = _test_case_get_categories del _test_case_get_categories llvm-svn: 176158
-
Rafael Espindola authored
llvm-svn: 176157
-
Meador Inge authored
PR15262 reported a bug where the following instruction: i8 getelementptr inbounds i8* bitcast ([4 x i8] addrspace(12)* @buf to i8*), i32 2 was getting folded into: addrspace(12)* getelementptr inbounds ([4 x i8] addrspace(12)* @buf, i32 0, i32 2) This caused instcombine to crash because the original instruction and the folded instruction have different types. The issue was fixed by disallowing bitcasts between different address spaces to be folded away. llvm-svn: 176156
-
Rafael Espindola authored
Everything that cares about visibility also cares about linkage, so I just moved it to Visibility.h instead of creating a new .h. llvm-svn: 176155
-
Manman Ren authored
CurrentCallSite to avoid an assertion failure: assert(MMI.getCurrentCallSite() == 0 && "Overlapping call sites!"); rdar://problem/13228754 llvm-svn: 176154
-
Richard Trieu authored
llvm-svn: 176153
-
Argyrios Kyrtzidis authored
llvm-svn: 176152
-
Adrian Prantl authored
This reverts commit ea95e4587fd13606fbf63b10a07a7d02026aa39c. llvm-svn: 176151
-
Michael J. Spencer authored
This adds separate PLT and dynamic relocation tables. It also fills in the dynamic table entries for them. llvm-svn: 176150
-