- Jul 19, 2014
-
-
Zachary Turner authored
llvm-svn: 213421
-
Eric Christopher authored
two reasons: a) we're already caching the target machine which contains it, b) which relocation model you get is dependent upon whether or not you ask before MCCodeGenInfo is constructed on the target machine, so avoid any latent issues there. llvm-svn: 213420
-
Eric Christopher authored
llvm-svn: 213419
-
Eric Christopher authored
llvm-svn: 213418
-
David Blaikie authored
There's nothing else these should ever be... llvm-svn: 213417
-
Richard Smith authored
thorough tests. Original commit message: [modules] Fix macro hiding bug exposed if: * A submodule of module A is imported into module B * Another submodule of module A that is not imported into B exports a macro * Some submodule of module B also exports a definition of the macro, and happens to be the first submodule of B that imports module A. In this case, we would incorrectly determine that A's macro redefines B's macro, and so we don't need to re-export B's macro at all. This happens with the 'assert' macro in an LLVM self-host. =( llvm-svn: 213416
-
- Jul 18, 2014
-
-
Alexey Samsonov authored
llvm-svn: 213415
-
Mark Heffernan authored
llvm-svn: 213414
-
Zachary Turner authored
another, attempting to fix it. llvm-svn: 213413
-
Mark Heffernan authored
llvm-svn: 213412
-
Zachary Turner authored
llvm-svn: 213411
-
Zachary Turner authored
lldb -P, which outputs its python path, works by using Host-layer facilities to get information about the loaded python module. This Host functionality was unimplemented on Windows, so this patch implements it. Additionally, it removes a pexpect dependency from the test runner and uses an equivalent invocation of subprocess. Reviewed by: Todd Fiala Differential Revision: http://reviews.llvm.org/D4548 llvm-svn: 213410
-
Eric Christopher authored
llvm-svn: 213409
-
Lang Hames authored
RelocationEntry. No test case yet, as this primarily hits GOT entries, which RuntimeDyldChecker can't examine yet. I'm actively working on features that will enable us to test this. llvm-svn: 213408
-
Eric Christopher authored
manager for mips, and early exit if we don't want to do anything because of the current subtarget. llvm-svn: 213407
-
Eli Bendersky authored
llvm-svn: 213406
-
David Majnemer authored
This reverts commit r213401, r213402, r213403, and r213404. I accidently committed these changes instead of updating the differential. llvm-svn: 213405
-
David Majnemer authored
llvm-svn: 213404
-
David Majnemer authored
llvm-svn: 213403
-
David Majnemer authored
llvm-svn: 213402
-
David Majnemer authored
Summary: Thoroughly check for a pointer dereference which yields a glvalue. Look through casts, comma operators, conditional operators, paren expressions, etc. Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4416 llvm-svn: 213401
-
Tyler Nowicki authored
Clang uses a diagnostic handler to grab diagnostic messages so it can print them with the line of source code they refer to. This patch extends this to handle optimization failures that were added to llvm to produce a warning when loop vectorization is explicitly specified (using a pragma clang loop directive) but fails. Update renames warning flag name to avoid indicating the flag's severity and adds a test. Reviewed by Alp Toker llvm-svn: 213400
-
Tyler Nowicki authored
so the severity of the message is not part of the type name. Reviewed by Alp Toker llvm-svn: 213399
-
Eli Bendersky authored
llvm-svn: 213398
-
Mark Heffernan authored
llvm-svn: 213397
-
Gerolf Hoflehner authored
Merges equivalent loads on both sides of a hammock/diamond and hoists into into the header. Merges equivalent stores on both sides of a hammock/diamond and sinks it to the footer. Can enable if conversion and tolerate better load misses and store operand latencies. llvm-svn: 213396
-
Ben Langmuir authored
This is breaking the system modules on Darwin, because something that was defined and re-exported no longer is. Might be this patch, or might just be a really poor interaction with an existing visibility bug. This reverts commit r213348. llvm-svn: 213395
-
Greg Clayton authored
Fix the warning the correct way without making things crash when ENABLE_MUTEX_ERROR_CHECKING is non enabled. <rdar://problem/17703039> llvm-svn: 213394
-
Alexey Samsonov authored
Otherwise -fsanitize=vptr causes the program to crash when it downcasts a null pointer. Reviewed in http://reviews.llvm.org/D4412. Patch by Byoungyoung Lee! llvm-svn: 213393
-
Alexey Samsonov authored
Summary: This change adds description of globals created by UBSan instrumentation (UBSan handlers, type descriptors, filenames) to llvm.asan.globals metadata, effectively "blacklisting" them. This can dramatically decrease the data section in binaries built with UBSan+ASan, as UBSan tends to create a lot of handlers, and ASan instrumentation increases the global size to at least 64 bytes. Test Plan: clang regression test suite Reviewers: rsmith Reviewed By: rsmith Subscribers: cfe-commits, byoungyoung, kcc Differential Revision: http://reviews.llvm.org/D4575 llvm-svn: 213392
-
David Blaikie authored
Reapply "DebugInfo: Ensure that all debug location scope chains from instructions within a function, lead to the function itself.""" Recommits 212776 which was reverted in r212793. This has been committed and recommitted a few times as I try to test it harder and find/fix more issues. The most recent revert was due to an asan bot failure which I can't seem to reproduce locally, though I believe I'm following all the steps the buildbot does. So I'm going to recommit this in the hopes of investigating the failure on the buildbot itself... apologies in advance for the bot noise. If anyone sees failures with this /please/ provide me with any reproductions, etc. llvm-svn: 213391
-
Simon Atanasyan authored
target independent. llvm-svn: 213390
-
David Peixotto authored
Add explicit constructor to struct instead of using brace initialization. llvm-svn: 213389
-
Sylvestre Ledru authored
(i486-linux-gnu previously). Adding this triple to the list of search. Also impacts clang 3.4.2 Reported on the Debian bug tracking system here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754963 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755183 llvm-svn: 213388
-
David Peixotto authored
On AArch64 the pseudo instruction ldr <reg>, =... supports both 32-bit and 64-bit constants. Add support for 64 bit constants for the pools to support the pseudo instruction fully. Changes the AArch64 ldr-pseudo tests to use 32-bit registers and adds tests with 64-bit registers. Patch by Janne Grunau! Differential Revision: http://reviews.llvm.org/D4279 llvm-svn: 213387
-
Hal Finkel authored
Because references must be initialized using some evaluated expression, they must point to something, and a callee can assume the reference parameter is dereferenceable. Taking advantage of a new attribute just added to LLVM, mark them as such. Because dereferenceability in addrspace(0) implies nonnull in the backend, we don't need both attributes. However, we need to know the size of the object to use the dereferenceable attribute, so for incomplete types we still emit only nonnull. llvm-svn: 213386
-
Hal Finkel authored
This attribute indicates that the parameter or return pointer is dereferenceable. Practically speaking, loads from such a pointer within the associated byte range are safe to speculatively execute. Such pointer parameters are common in source languages (C++ references, for example). llvm-svn: 213385
-
Dmitry Vyukov authored
llvm-svn: 213384
-
Daniel Sanders authored
llvm-svn: 213383
-
Dmitry Vyukov authored
llvm-svn: 213382
-