- Jan 24, 2012
-
-
Chris Lattner authored
llvm-svn: 148790
-
David Blaikie authored
This is the last piece of N3031 (decltype in weird places) - supporting the use of decltype in a class ctor's member-initializer-list to specify the base classes to initialize. Reviewed by Richard Smith. llvm-svn: 148789
-
Chris Lattner authored
instead of its own hard coded thing, allowing it to handle ConstantDataSequential and fixing some obscure bugs (e.g. it would previously crash on a CAZ of vector type). llvm-svn: 148788
-
David Blaikie authored
This makes all sorts of fun examples work with decltype. Reviewed by Richard Smith. llvm-svn: 148787
-
Chris Lattner authored
out into a new ConstantFoldLoadThroughGEPIndices (more useful) function and rewrite it to be simpler, more efficient, and to handle the new ConstantDataSequential type. Enhance ConstantFoldLoadFromConstPtr to handle ConstantDataSequential. llvm-svn: 148786
-
Chris Lattner authored
Make some CDS methods public. llvm-svn: 148785
-
Richard Smith authored
Francois Pichet. llvm-svn: 148784
-
David Blaikie authored
Rewording the diagnostic to be more precise/correct: "default label in switch which covers all enumeration values" and changed the switch to -Wcovered-switch-default llvm-svn: 148783
-
Anton Korobeynikov authored
This pacifies machine verifier llvm-svn: 148782
-
David Blaikie authored
Changing wording to include the word "explicitly" (as in "enumeration value ... not /explicitly/ handled by switch"), as suggested by Richard Smith. Also, now that the diagnostic text differs between -Wswitch and -Wswitch-enum, I've simplified the test cases a bit. llvm-svn: 148781
-
David Blaikie authored
r148774, r148775, r148776, r148777 llvm-svn: 148780
-
Jakob Stoklund Olesen authored
This won't have an effect until EliminateRegSequences() starts setting the undef flags. llvm-svn: 148779
-
Chris Lattner authored
No need for 'getOperand' :) llvm-svn: 148778
-
David Blaikie authored
llvm-svn: 148777
-
David Blaikie authored
llvm-svn: 148776
-
David Blaikie authored
llvm-svn: 148775
-
David Blaikie authored
llvm-svn: 148774
-
Argyrios Kyrtzidis authored
llvm-svn: 148772
-
Craig Topper authored
Add comments near load pattern fragments indicating that all integer vector loads are promoted to v2i64 or v4i64 so that no one tries to reintroduce pattern fragments for other types. llvm-svn: 148771
-
Jim Ingham authored
llvm-svn: 148770
-
Jim Ingham authored
llvm-svn: 148769
-
Jim Ingham authored
llvm-svn: 148768
-
Chandler Carruth authored
the tests are making assertions about the name of the clang binary, so we should ensure that the name is as stable as possible. llvm-svn: 148767
-
Johnny Chen authored
to find the possible session directories with names starting with %Y-%m-%d- (for example, 2012-01-23-) and employs the one with the latest timestamp. For example: johnny:/Volumes/data/lldb/svn/latest/test $ ./redo.py Using session dir path: /Volumes/data/lldb/svn/latest/test/2012-01-23-11_28_30 adding filterspec: DisassembleRawDataTestCase.test_disassemble_raw_data Running ./dotest.py -C clang -v -t -f DisassembleRawDataTestCase.test_disassemble_raw_data LLDB build dir: /Volumes/data/lldb/svn/latest/build/Debug LLDB-108 Path: /Volumes/data/lldb/svn/latest URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 148710 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 148650 Last Changed Date: 2012-01-21 18:55:08 -0800 (Sat, 21 Jan 2012) Session logs for test failures/errors/unexpected successes will go into directory '2012-01-23-17_04_48' Command invoked: python ./dotest.py -C clang -v -t -f DisassembleRawDataTestCase.test_disassemble_raw_data Configuration: compiler=clang ---------------------------------------------------------------------- Collected 1 test Change dir to: /Volumes/data/lldb/svn/latest/test/python_api/disassemble-raw-data 1: test_disassemble_raw_data (TestDisassembleRawData.DisassembleRawDataTestCase) Test disassembling raw bytes with the API. ... Raw bytes: ['0x48', '0x89', '0xe5'] Disassembled: movq %rsp, %rbp ok Restore dir to: /Volumes/data/lldb/svn/latest/test ---------------------------------------------------------------------- Ran 1 test in 0.233s OK llvm-svn: 148766
-
Argyrios Kyrtzidis authored
llvm-svn: 148765
-
Jim Grosbach authored
llvm-svn: 148764
-
Howard Hinnant authored
llvm-svn: 148763
-
Jim Grosbach authored
llvm-svn: 148762
-
Jim Grosbach authored
llvm-svn: 148761
-
Fariborz Jahanian authored
matches a typedef declaring an object type. // rdar://10733000 llvm-svn: 148760
-
Chandler Carruth authored
violation -- MC cannot depend on CodeGen. Specifically, the MCTargetDesc component of each target is actually a subcomponent of the MC library. As such, it cannot depend on the target-independent code generator, because MC itself cannot depend on the target-independent code generator. This change moved a flag from the ARM MCTargetDesc file ARMMCAsmInfo.cpp to the CodeGen layer in ARMException.cpp, leaving behind an 'extern' to refer back to it. That layering order isn't viable givin the constraints outlined above. Commandline flags are designed to be static specifically to avoid these types of bugs. Fixing this is likely going to require some non-trivial refactoring. llvm-svn: 148759
-
Jim Grosbach authored
llvm-svn: 148757
-
Johnny Chen authored
llvm-svn: 148756
-
Jim Grosbach authored
llvm-svn: 148755
-
Howard Hinnant authored
llvm-svn: 148754
-
Akira Hatanaka authored
type of pointers. llvm-svn: 148753
-
Howard Hinnant authored
I renamed abort_message to be a C++ file to simplify my simplistic build script which I'm still working on. I also added a struct for the crash reporter on __APPLE__. llvm-svn: 148752
-
Devang Patel authored
llvm-svn: 148751
-
Howard Hinnant authored
A lot of the code in cxa_exception.cpp depends on __cxa_get_globals_fast() returning null if __cxa_get_globals() hasn't been called yet. However it doesn't reliably do that, at least on OS X if __cxa_get_globals_fast() is called prior to pthread_key_create() running. Our choice is to either limit our use of __cxa_get_globals_fast() more than we have, or to have __cxa_get_globals_fast() initialize with pthread_key_create() if necessary. I chose the latter, and replaced pthread_once with a C++11 local static (which should do the same thing). llvm-svn: 148750
-
Howard Hinnant authored
llvm-svn: 148749
-