summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* change the function names in RelocationHelper to adhere to conventionShankar Easwaran2013-01-301-2/+3
| | | | llvm-svn: 173908
* [lit] Make GoogleTest test runner correctly discover tests in the source rootAlexey Samsonov2013-01-301-15/+23
| | | | llvm-svn: 173907
* change DefaultLayout to TargetLayout inside member variablesShankar Easwaran2013-01-301-1/+1
| | | | llvm-svn: 173906
* Add "instancetype" as a code completion result for the return type ofDouglas Gregor2013-01-302-0/+16
| | | | | | an Objective-C method. Fixes <rdar://problem/13069990>. llvm-svn: 173905
* add targethandler hooks from Writer and cleanupShankar Easwaran2013-01-309-175/+121
| | | | llvm-svn: 173904
* The instance methods of the root class of an Objective-C hieararchyDouglas Gregor2013-01-303-4/+8
| | | | | | | can be messaged via the metaclass. Provide code completions for this case. Fixes <rdar://problem/12560296>. llvm-svn: 173903
* Attempt to fix dragonegg. Use the number of slots to determine if the ↵Bill Wendling2013-01-301-1/+1
| | | | | | AttributeSet has attributes or not. llvm-svn: 173902
* InstCombine: canonicalize sext-and --> selectNadav Rotem2013-01-304-14/+52
| | | | | | | | sext-not-and --> select. Patch by Muhammad Tauqir Ahmad. llvm-svn: 173901
* C11: Provide the missing half of <stdalign.h>Richard Smith2013-01-302-0/+8
| | | | llvm-svn: 173900
* Fix test failure from previous change.Richard Smith2013-01-301-0/+1
| | | | llvm-svn: 173899
* Semantic analysis and CodeGen support for C11's _Noreturn. This is modeled asRichard Smith2013-01-306-11/+32
| | | | | | an attribute for consistency with our other noreturn mechanisms. llvm-svn: 173898
* [ELF][x86-64] Add X86_64TargetRelocationHandler and friends.Michael J. Spencer2013-01-304-7/+147
| | | | llvm-svn: 173897
* [ELF] Add ELFTargetRelocationHandler.Michael J. Spencer2013-01-302-0/+17
| | | | llvm-svn: 173896
* add Relocation helper functionsShankar Easwaran2013-01-301-0/+52
| | | | llvm-svn: 173895
* Fix one obvious thinko with the ↵Jason Molenda2013-01-301-2/+2
| | | | | | | | | plugin.dynamic-loader.darwin-kernel.scan-type setting handling that was probably the source of the settings problem. Need to verify that it's working correctly tomorrow though. llvm-svn: 173894
* build: regenerate configureSaleem Abdulrasool2013-01-301-3/+90
| | | | | | | Regenerate configure script for new option to make the buildbots happy. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 173893
* <rdar://problem/12491235> Jason Molenda2013-01-305-163/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | Enhance lldb so it can search for a kernel in memory when attaching to a remote system. Remove some of the code that was doing this from ProcessMachCore and ProcessGDBRemote and put it in DynamicLoaderDarwinKernel. I've added a new setting, plugin.dynamic-loader.darwin-kernel.scan-type which can be set to none - for environments where reading random memory can cause a device crash basic - look at one fixed location in memory for a kernel load address, plus the contents of that address fast-scan - the default, tries "basic" and then looks for the kernel's mach header near the current pc value when lldb connects exhaustive-scan - on 32-bit targets, step through the entire range where the kernel can be loaded, looking for the kernel binary I don't have the setting set up correctly right now, I'm getting back unexpected values from the Property system, but I'll figure that out tomorrow and fix. Besides that, all of the different communication methods / types of kernels appear to be working correctly with these changes. llvm-svn: 173891
* build: add --with-python optionSaleem Abdulrasool2013-01-305-6/+36
| | | | | | | | | | | This adds a new --with-python option to allow configuration of the python binary for building. If not specified, $PATH will be searched for common python binary names (python, python2, python3). If specified, and the path is not executable, it will attempt to search $PATH. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Eric Christopher <echristo@gmail.com>, Daniel Dunbar <daniel@zuster.org> llvm-svn: 173890
* Don't warn on fall-through from unreachable code.Alexander Kornienko2013-01-302-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: A motivating example: class ClassWithDtor { public: ~ClassWithDtor() {} }; void fallthrough3(int n) { switch (n) { case 2: do { ClassWithDtor temp; return; } while (0); // This generates a chain of unreachable CFG blocks. case 3: break; } } Reviewers: rsmith, doug.gregor, alexfh Reviewed By: alexfh CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D330 llvm-svn: 173889
* Removing initializer for the field removed in r173887David Blaikie2013-01-301-1/+1
| | | | llvm-svn: 173888
* Remove unused variable (introduced in r173884) to clear clang -Werror buildDavid Blaikie2013-01-301-2/+0
| | | | llvm-svn: 173887
* Forgot to add new file to CMakeListsJack Carter2013-01-301-0/+1
| | | | llvm-svn: 173886
* This patch implements runtime ARM specificJack Carter2013-01-305-2/+43
| | | | | | | | setting of ELF header e_flags. Contributer: Jack Carter llvm-svn: 173885
* This patch implements runtime Mips specificJack Carter2013-01-307-3/+168
| | | | | | | | setting of ELF header e_flags. Contributer: Jack Carter llvm-svn: 173884
* Unresolved lookups can have using declarations that refer toDouglas Gregor2013-01-302-1/+10
| | | | | | unresolved using declarations. Fixes PR14768 / <rdar://problem/13030296>. llvm-svn: 173883
* This patch reworks how llvm targets set Jack Carter2013-01-308-35/+19
| | | | | | | | | | | | | | | | | | | | | | | | and update ELF header e_flags. Currently gathering information such as symbol, section and data is done by collecting it in an MCAssembler object. From MCAssembler and MCAsmLayout objects ELFObjectWriter::WriteObject() forms and streams out the ELF object file. This patch just adds a few members to the MCAssember class to store and access the e_flag settings. It allows for runtime additions to the e_flag by assembler directives. The standalone assembler can get to MCAssembler from getParser().getStreamer().getAssembler(). This patch is the generic infrastructure and will be followed by patches for ARM and Mips for their target specific use. Contributer: Jack Carter llvm-svn: 173882
* Don't warn about Unicode characters in -E mode.Jordan Rose2013-01-306-22/+88
| | | | | | | | | | | | | | | People use the C preprocessor for things other than C files. Some of them have Unicode characters. We shouldn't warn about Unicode characters appearing outside of identifiers in this case. There's not currently a way for the preprocessor to tell if it's in -E mode, so I added a new flag, derived from the PreprocessorOutputOptions. This is only used by the Unicode warnings for now, but could conceivably be used by other warnings or even behavioral differences later. <rdar://problem/13107323> llvm-svn: 173881
* [Sema] Constrain test added in r173873 with expected-error-reDavid Blaikie2013-01-301-2/+1
| | | | | | Suggested in post-commit review by Richard Smith. llvm-svn: 173880
* [autoconf]: Fix description in HAVE_CRASHREPORTER_INFO.NAKAMURA Takumi2013-01-303-4/+4
| | | | | | | http://llvm-reviews.chandlerc.com/D332 Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 173879
* [autoconf] Fix m4 quoting for newer autotoolsNAKAMURA Takumi2013-01-304-111/+191
| | | | | | | | | This simply fixes up quoting of macro invocations to appease newer versions of autotools. http://llvm-reviews.chandlerc.com/D332 Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 173878
* [autoconf] Fix 80+ and quoting.NAKAMURA Takumi2013-01-302-8/+15
| | | | | | | | | Additional quoting for safety and satisfying newer autotools. Fix a couple of 80 column violations. http://llvm-reviews.chandlerc.com/D333 Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 173877
* [ELF] Make AtomLayout more accessible.Michael J. Spencer2013-01-305-79/+66
| | | | | | This is needed to allow constant time access to the final layout of atoms. llvm-svn: 173874
* Provide a fixit for constexpr non-static data members.David Blaikie2013-01-306-8/+50
| | | | | | | | | | | | | | | | If the member has an initializer, assume it was probably intended to be static and suggest/recover with that. If the member doesn't have an initializer, assume it was probably intended to be const instead of constexpr and suggest that. (if the attempt to apply these changes fails, don't make any suggestion & produce the same diagnostic experience as before. The only case where this can come up that I know of is with a mutable constexpr with an initializer, since mutable is incompatible with static (but it's already incompatible with const anyway)) llvm-svn: 173873
* c: When checking on validity of sizeof passed as size ofFariborz Jahanian2013-01-302-1/+17
| | | | | | | | argument to be memset, check for its type to be complete before calling Context.getTypeSize(PointeeTy) to prevent crash. // rdar://13081751. llvm-svn: 173872
* [Frontend] Factor AddUnmappedPath() out of AddPath() and simplify.Daniel Dunbar2013-01-301-15/+33
| | | | llvm-svn: 173871
* Fix build problems with libstdc++ 4.6/4.7Daniel Malea2013-01-301-2/+2
| | | | | | - remove nullptr from initialization of shared_ptrs llvm-svn: 173870
* Use printf instead of echo -n (the latter won't work on OS X's /bin/sh)Filipe Cabecinhas2013-01-301-2/+2
| | | | llvm-svn: 173867
* [Frontend] Remove HeaderSearchOptions::Entry::IsInternal, which is unused.Daniel Dunbar2013-01-304-19/+7
| | | | llvm-svn: 173866
* Remove debug code and commented out code that was left in.Greg Clayton2013-01-302-135/+0
| | | | llvm-svn: 173865
* Continuing the fix for the r173732 fix. Now lldb gets built with Makefiles ↵Filipe Cabecinhas2013-01-302-1/+2
| | | | | | (Darwin). llvm-svn: 173864
* [mips] Test case for r173862.Akira Hatanaka2013-01-302-0/+164
| | | | | | Patch by Sasa Stankovic. llvm-svn: 173863
* [mips] Lower EH_RETURN.Akira Hatanaka2013-01-3010-2/+184
| | | | | | Patch by Sasa Stankovic. llvm-svn: 173862
* clang/test/Driver/asan-ld.c: Try not to mismatch temporary file, like ↵NAKAMURA Takumi2013-01-301-5/+5
| | | | | | | | "tmpkcfdld". If we had the regular expression "\b" in FileCheck like Perl... llvm-svn: 173861
* [Frontend] Remove actual ImplicitExternC member variable.Daniel Dunbar2013-01-301-3/+0
| | | | llvm-svn: 173860
* [Frontend] Add an ExternCSystem include entry group.Daniel Dunbar2013-01-305-88/+83
| | | | | | | | - The only group where it makes sense for the "ExternC" bit is System, so this simplifies having to have the extra isCXXAware (or ImplicitExternC, depending on what code you talk to) bit caried around. llvm-svn: 173859
* <rdar://problem/9141269>Greg Clayton2013-01-3010-131/+648
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaned up the objective C name parsing code to use a class. Now breakpoints that are set by name that are objective C methods without the leading '+' or '-' will resolve. We do this by expanding all the objective C names for a given string. For example: (lldb) b [MyString cStringUsingEncoding:] Will set a breakpoint with multiple possible names: -[MyString cStringUsingEncoding:] +[MyString cStringUsingEncoding:] Also if you have a category, it will strip the category and set a breakpoint in all variants: (lldb) [MyString(my_category) cStringUsingEncoding:] Will resolve to the following names: -[MyString(my_category) cStringUsingEncoding:] +[MyString(my_category) cStringUsingEncoding:] -[MyString cStringUsingEncoding:] +[MyString cStringUsingEncoding:] Likewise when we have: (lldb) b -[MyString(my_category) cStringUsingEncoding:] It will resolve to two names: -[MyString(my_category) cStringUsingEncoding:] -[MyString cStringUsingEncoding:] llvm-svn: 173858
* [lit] Add some TODO notes to myself.Daniel Dunbar2013-01-301-0/+17
| | | | llvm-svn: 173857
* Removed couple of html named character references inFariborz Jahanian2013-01-301-2/+0
| | | | | | my last patch. llvm-svn: 173856
* [Frontend] Make the include dir group independent from the "use sysroot" bit.Daniel Dunbar2013-01-292-8/+6
| | | | | | | | | - This slightly decouples the path handling, since before the group sometimes dominated the "use sysroot" bit, but it was still passed in via the API. - No functionality change. llvm-svn: 173855
* [Frontend] Rename a member variable to clarify its intent.Daniel Dunbar2013-01-291-5/+6
| | | | llvm-svn: 173854
OpenPOWER on IntegriCloud