- Jul 19, 2014
-
-
David Blaikie authored
It's also possible to just write "= nullptr", but there's some question of whether that's as readable, so I leave it up to authors to pick which they prefer for now. If we want to discuss standardizing on one or the other, we can do that at some point in the future. llvm-svn: 213438
-
Warren Hunt authored
Assigns indices to try blocks. These indices will used in constructing tables that the mscrt function __except_handler3 reads during SEH. Testing will occur once we actually emit the tables, in a subsequent patch. llvm-svn: 213437
-
Jim Ingham authored
the error if there is one. llvm-svn: 213436
-
Lang Hames authored
getBasicRelocationEntry to use this rather than 'memcpy' to get the relocation addend. Targets with non-trivial addend encodings (E.g. AArch64) can override decodeAddend to handle immediates with interesting encodings. No functional change. llvm-svn: 213435
-
David Majnemer authored
Thoroughly check for a pointer dereference which yields a glvalue. Look through casts, comma operators, conditional operators, paren expressions, etc. This was originally D4416. Differential Revision: http://reviews.llvm.org/D4592 llvm-svn: 213434
-
Greg Clayton authored
Test case added as well. <rdar://problem/16785904> llvm-svn: 213433
-
Eric Christopher authored
Revert "Reapply "DebugInfo: Ensure that all debug location scope chains from instructions within a function, lead to the function itself."""" After a successful build it seems to have come back on a later build. This reverts commit r213391. llvm-svn: 213432
-
NAKAMURA Takumi authored
CGBuilder doesn't name instructions with Name. We should use Inst::setName() to name an instruction explicitly here. llvm-svn: 213431
-
Eric Christopher authored
a) Move the replacement level decision to the target machine. b) Create additional subtargets at the TargetMachine level to cache and make replacement easy. c) Make the mips16 features obvious. d) Remove the override logic as it no longer does anything. e) Have MipsModuleDAGToDAGISel take only the target machine. f) Have the constant islands pass grab the current subtarget from the MachineFunction (via the TargetMachine) instead of caching it. g) Unconditionally initialize TLOF. h) Remove the old complicated subtarget based resetting and replace it with simple conditionals. llvm-svn: 213430
-
Eric Christopher authored
during initialization. llvm-svn: 213429
-
Akira Hatanaka authored
<rdar://problem/17476689> llvm-svn: 213428
-
Hal Finkel authored
This adds initial support for PPC32 ELF PIC (Position Independent Code; the -fPIC variety), thus rectifying a long-standing deficiency in the PowerPC backend. Patch by Justin Hibbits! llvm-svn: 213427
-
Eric Christopher authored
have target lowering take the subtarget explicitly. llvm-svn: 213426
-
Eric Christopher authored
rather than the TargetMachine. llvm-svn: 213425
-
Hal Finkel authored
In C99, an array parameter declarator might have the form: direct-declarator '[' 'static' type-qual-list[opt] assign-expr ']' and when the size of the array is a constant, don't omit the static keyword when printing the type. Also, in the VLA case, put a space after the static keyword (some assignment expression must follow it). llvm-svn: 213424
-
Fariborz Jahanian authored
is unused (this is match behavior when property-dot syntax is used to use same getter). rdar://17514245 Patch by Anders Carlsson with minor refactoring by me. llvm-svn: 213423
-
Eric Christopher authored
so doesn't need to be a pointer, but a reference. llvm-svn: 213422
-
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
-