summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed breakpoints to be able to be set on eSymbolTypeReExported symbols and ↵Greg Clayton2013-10-211-1/+11
| | | | | | resolve to the correct function. This allows setting a breakpoint on "memset" for iOS simulator binaries and the correct breakpoint will be set on "__platform_memset". llvm-svn: 193114
* Remove unused TargetLowering field.Matt Arsenault2013-10-212-5/+0
| | | | llvm-svn: 193113
* Fix CodeGen for vectors of pointers with address spaces.Matt Arsenault2013-10-212-3/+37
| | | | llvm-svn: 193112
* Fix CodeGen for different size address space GEPsMatt Arsenault2013-10-213-8/+16
| | | | llvm-svn: 193111
* Make this test pass -verify.Rafael Espindola2013-10-211-2/+2
| | | | | | | | | Instead of using not, just drop the fastcall attribute which was causing an warning: calling convention 'fastcall' ignored for this target llvm-svn: 193110
* Use more type helper functionsMatt Arsenault2013-10-215-24/+24
| | | | llvm-svn: 193109
* [lsan] When detect_leaks=false, be completely silent.Sergey Matveev2013-10-211-3/+9
| | | | | | | | In particular, don't make a fuss if we're passed a malformed suppressions file, or if we have trouble identifying ld.so. Also, make LSan interface functions no-ops in this case. llvm-svn: 193108
* Reuse variableMatt Arsenault2013-10-211-1/+1
| | | | llvm-svn: 193107
* Fix the build in DIE.cpp with MSVC 2010Reid Kleckner2013-10-211-3/+5
| | | | llvm-svn: 193106
* DWARF type hashing: Handle multiple (including recursive) references to the ↵David Blaikie2013-10-213-9/+79
| | | | | | | | | | same type This uses a map, keeping the type DIE numbering separate from the DIEs themselves - alternatively we could do things the way GCC does if we want to add an integer to the DIE type to record the numbering there. llvm-svn: 193105
* Teach SimplifyCFG about address spacesMatt Arsenault2013-10-213-16/+113
| | | | llvm-svn: 193104
* Ignore -fstrength-reduce and -fno-strength-reduce.Rafael Espindola2013-10-212-0/+3
| | | | | | GCC does the same. llvm-svn: 193103
* Fix creating bitcasts between address spaces in SCEV.Matt Arsenault2013-10-212-6/+37
| | | | | | | | The test before wasn't successfully testing this since it was missing the datalayout piece to change the size of the second address space. llvm-svn: 193102
* <rdar://problem/14496092>Greg Clayton2013-10-218-73/+456
| | | | | | | | Fixed an issue with reexported symbols on MacOSX by adding support for symbols re-exporting symbols. There is now a new symbol type eSymbolTypeReExported which contains a new name for the re-exported symbol and the new shared library. These symbols are only used when a symbol is re-exported as a symbol under a different name. Modified the expression parser to be able to deal with finding the re-exported symbols and track down the actual symbol it refers to. llvm-svn: 193101
* Refactor DynTypedMatcher into a value type class, just like Matcher<T>.Samuel Benzaquen2013-10-2111-321/+297
| | | | | | | | | | | | | | | | Summary: Refactor DynTypedMatcher into a value type class, just like Matcher<T>. This simplifies its usage and removes the virtual hierarchy from Matcher<T>. It also enables planned changes to replace MatcherInteface<T>. Too many instantiaions of this class hierarchy has been causing Registry.cpp.o to bloat in size and number of symbols. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1661 llvm-svn: 193100
* Extend test to show an alias can be before a definition.Rafael Espindola2013-10-211-1/+2
| | | | llvm-svn: 193099
* Use internal_memset to initialize this variable.Peter Collingbourne2013-10-211-1/+2
| | | | | | | Otherwise, the compiler may use memset in non-optimized builds, which is forbidden in the nolibc part of the runtime. llvm-svn: 193098
* Remove unused SCEV functionsMatt Arsenault2013-10-212-29/+1
| | | | llvm-svn: 193097
* X86 vector element shift-by-immediate instructions take i8 immediates. MakeLang Hames2013-10-215-64/+77
| | | | | | | | | | | | | | the instruction defenitions and ISEL reflect this. Prior to this patch these instructions took an i32i8imm, and the high bits were dropped during encoding. This led to incorrect behavior for shifts by immediates higher than 255. This patch fixes that issue by detecting large immediate shifts and returning constant zero (for logical shifts) or capping the shift amount at an encodable value (for arithmetic shifts). Fixes <rdar://problem/14968098> llvm-svn: 193096
* Fix up some old review feedback.Eric Christopher2013-10-211-2/+3
| | | | llvm-svn: 193095
* Improving MCJIT/RuntimeDyld thread safetyAndrew Kaylor2013-10-215-13/+41
| | | | llvm-svn: 193094
* Cleanup redundant include.Rafael Espindola2013-10-213-6/+1
| | | | | | Patch by Daniel Marjamäki. llvm-svn: 193093
* Get rid of the FooStructSynth, it was a testing thing I put in and forgot to ↵Enrico Granata2013-10-211-11/+1
| | | | | | | | remove Hopefully nobody had a struct Foo in their app:-) llvm-svn: 193092
* DebugInfo: Put each kind of constant (form, attribute, tag, etc) into its ↵David Blaikie2013-10-216-212/+276
| | | | | | | | | | | own enum for ease of use. This allows various variables to be more self-documenting and easier to debug by being of specific types without overlapping enum values. Precommit review by Eric Christopher. llvm-svn: 193091
* Optimize more linkonce_odr values during LTO.Rafael Espindola2013-10-217-213/+294
| | | | | | | | | | | When a linkonce_odr value that is on the dso list is not unnamed_addr we can still look to see if anything is actually using its address. If not, it is safe to hide it. This patch implements that by moving GlobalStatus to Transforms/Utils and using it in Internalize. llvm-svn: 193090
* DebugInfo: Hash DW_FORM_GNU_str_index as a string.David Blaikie2013-10-212-3/+5
| | | | | | | | | | Found while adding type safety to the various DWARF enumerations (form, attribute, tag, etc) that caused Clang to warn on an incompletely covered switch. Converting the comment to a default/unreachable uncovered this case of an unsupported form encoding. Seems we were skipping fission strings entirely. llvm-svn: 193089
* Patch by GM: Turn off 'deprecated' warnings when building with MSVC, and add ↵Marshall Clow2013-10-211-0/+6
| | | | | | '-Werror=return-type' to catch funtions that aren't returning what they should. llvm-svn: 193088
* Patch by GM: apparently '__value' (two underscores) is a special name in ↵Marshall Clow2013-10-211-8/+8
| | | | | | Visual Studio, so rename the private method in <regex> with that name. GM's patch used '___value' (three underscores), but I changed that to '__regex_traits_value' because I've been burned in the past by identifiers that appear identical but are not. llvm-svn: 193087
* Patch from GM: locale.cpp; make implicit conversions to bool explicit, fix ↵Marshall Clow2013-10-211-3/+21
| | | | | | some 'unknown pragma' warnings when compiling under MSVC, and don't use the __sso_allocator under windows, b/c MSVC doesn't support aligned-by value parameters llvm-svn: 193086
* Patch by GM: Making implicit conversion to bool explicit in <ios> and <__locale>Marshall Clow2013-10-212-4/+4
| | | | llvm-svn: 193085
* Patch by GM: Adding MSVC support to __bit_referenceMarshall Clow2013-10-211-3/+3
| | | | llvm-svn: 193084
* AVX-512: MUL operation lowering for v8i64Elena Demikhovsky2013-10-212-4/+14
| | | | llvm-svn: 193083
* [mips][msa] Direct Object Emission support for LD/ST instructions.Matheus Almeida2013-10-214-24/+86
| | | | llvm-svn: 193082
* [mips][msa] Direct Object Emission support for LDI instructions.Matheus Almeida2013-10-213-8/+32
| | | | llvm-svn: 193081
* [mips][msa] Direct Object Emission support for MOVE.v.Matheus Almeida2013-10-213-2/+10
| | | | llvm-svn: 193080
* Driver: Various string-related cleanups.Benjamin Kramer2013-10-211-50/+45
| | | | | | Also fixes some funky formatting. llvm-svn: 193079
* [mips][msa] Direct Object Emission support for CTCMSA and CFCMSA. Matheus Almeida2013-10-216-14/+242
| | | | | | | | These instructions are logically related as they allow read/write of MSA control registers. Currently MSA control registers are emitted by number but hopefully that will change as soon as GAS starts accepting them by name as that would make the assembly easier to read. llvm-svn: 193078
* [mips][msa] Direct Object Emission of SPLAT instruction.Matheus Almeida2013-10-212-12/+28
| | | | llvm-svn: 193077
* [mips][msa] Fix definition of SLD instruction.Matheus Almeida2013-10-217-59/+87
| | | | | | | The second parameter of the SLD intrinsic is the number of columns (GPR) to slide left the source array. llvm-svn: 193076
* Set the default hardware division features for ARM cpus. Also set it as ↵Silviu Baranga2013-10-212-2/+143
| | | | | | default for A32 armv8. llvm-svn: 193075
* Add the __ARM_ARCH_EXT_IDIV__ predefine. It is set to 1 if we have hardware ↵Silviu Baranga2013-10-216-0/+111
| | | | | | divide in the mode that we are compiling in (depending on the target features), not defined if we don't. Should be compatible with the GCC conterpart. Also adding a -hwdiv option to overide the default behavior. llvm-svn: 193074
* Fix to PR8880 (clang dies processing a for loop).Serge Pavlov2013-10-219-15/+187
| | | | | | | | | | | | | | | | Due to statement expressions supported as GCC extension, it is possible to put 'break' or 'continue' into a loop/switch statement but outside its body, for example: for ( ; ({ if (first) { first = 0; continue; } 0; }); ) Such usage must be diagnosed as an error, GCC rejects it. To recognize this and similar patterns the flags BreakScope and ContinueScope are temporarily turned off while parsing condition expression. Differential Revision: http://llvm-reviews.chandlerc.com/D1762 llvm-svn: 193073
* [asan] count the size of QuarantineBatch in the total Quarantine size; make ↵Kostya Serebryany2013-10-211-5/+10
| | | | | | QuarantineBatch fit into 8K, fix a MSVC compile warning llvm-svn: 193072
* Fixes PR17617: Crash on joining short if statements.Manuel Klimek2013-10-212-0/+19
| | | | | | | | Now that we iterate on the formatting multiple times when we have chains of preprocessor branches, we need to correctly reset the token's previous and next pointer for the first / last token. llvm-svn: 193071
* tsan: fix strerror interceptor (eliminate false positives)Dmitry Vyukov2013-10-211-1/+1
| | | | llvm-svn: 193070
* Expose -fmodule-name and -fmodule-map-file as driver options.Daniel Jasper2013-10-213-7/+22
| | | | | Review: http://llvm-reviews.chandlerc.com/D1974 llvm-svn: 193069
* Fix the predecessor removal logic in r193045.Michael Gottesman2013-10-211-11/+9
| | | | | | Additionally some small comment/stylistic fixes are included as well. llvm-svn: 193068
* Lex: Don't restrict legal UCNs when preprocessing assemblyJustin Bogner2013-10-212-0/+7
| | | | | | | | | | | | | | | The C and C++ standards disallow using universal character names to refer to some characters, such as basic ascii and control characters, so we reject these sequences in the lexer. However, when the preprocessor isn't being used on C or C++, it doesn't make sense to apply these restrictions. Notably, accepting these characters avoids issues with unicode escapes when GHC uses the compiler as a preprocessor on haskell sources. Fixes rdar://problem/14742289 llvm-svn: 193067
* Avoid using the name 'bzero' for an enumerator in global scope. <strings.h> ↵Richard Smith2013-10-212-2/+2
| | | | | | might declare this as a function. llvm-svn: 193066
* [-fms-extensions] __is_interface_class was miscategorizedDavid Majnemer2013-10-211-1/+1
| | | | | | | We claimed that the __is_interface_class keyword was KEYCXX even though the __interface keyword was KEYMS. llvm-svn: 193065
OpenPOWER on IntegriCloud