| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193113
|
|
|
|
| |
llvm-svn: 193112
|
|
|
|
| |
llvm-svn: 193111
|
|
|
|
|
|
|
|
|
| |
Instead of using not, just drop the fastcall attribute which was causing
an warning:
calling convention 'fastcall' ignored for this target
llvm-svn: 193110
|
|
|
|
| |
llvm-svn: 193109
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193107
|
|
|
|
| |
llvm-svn: 193106
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193104
|
|
|
|
|
|
| |
GCC does the same.
llvm-svn: 193103
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193099
|
|
|
|
|
|
|
| |
Otherwise, the compiler may use memset in non-optimized builds, which is
forbidden in the nolibc part of the runtime.
llvm-svn: 193098
|
|
|
|
| |
llvm-svn: 193097
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193095
|
|
|
|
| |
llvm-svn: 193094
|
|
|
|
|
|
| |
Patch by Daniel Marjamäki.
llvm-svn: 193093
|
|
|
|
|
|
|
|
| |
remove
Hopefully nobody had a struct Foo in their app:-)
llvm-svn: 193092
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
'-Werror=return-type' to catch funtions that aren't returning what they should.
llvm-svn: 193088
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193085
|
|
|
|
| |
llvm-svn: 193084
|
|
|
|
| |
llvm-svn: 193083
|
|
|
|
| |
llvm-svn: 193082
|
|
|
|
| |
llvm-svn: 193081
|
|
|
|
| |
llvm-svn: 193080
|
|
|
|
|
|
| |
Also fixes some funky formatting.
llvm-svn: 193079
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193077
|
|
|
|
|
|
|
| |
The second parameter of the SLD intrinsic is the number of columns (GPR) to
slide left the source array.
llvm-svn: 193076
|
|
|
|
|
|
| |
default for A32 armv8.
llvm-svn: 193075
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
QuarantineBatch fit into 8K, fix a MSVC compile warning
llvm-svn: 193072
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 193070
|
|
|
|
|
| |
Review: http://llvm-reviews.chandlerc.com/D1974
llvm-svn: 193069
|
|
|
|
|
|
| |
Additionally some small comment/stylistic fixes are included as well.
llvm-svn: 193068
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
might declare this as a function.
llvm-svn: 193066
|
|
|
|
|
|
|
| |
We claimed that the __is_interface_class keyword was KEYCXX even though
the __interface keyword was KEYMS.
llvm-svn: 193065
|