- Aug 09, 2013
-
-
Hans Wennborg authored
The compiler was warning about using | on a uintptr_t and bool: Object/ELFObjectFile.h(131) : warning C4805: '|' : unsafe mix of type 'uintptr_t' and type 'bool' in operation I think the warning might be useful in other cases, so I added a cast instead of disabling it altogether. llvm-svn: 188079
-
Daniel Malea authored
- updated RNBDefs.h to allow version numbers to be passed in via preprocessor defines - update libdebugserver.cpp to compile against latest DNBProcessKill signature Review: http://llvm-reviews.chandlerc.com/D1331 llvm-svn: 188078
-
Howard Hinnant authored
Partial implementation of N3665. This paper was not voted into the C++1y draft. However I was looking at it and with some experimentation realized that I could partially implement it, and at the same time offer a performance optimization to cout. I simply added an xsputn override to the cout filebuf. The override does nothing special at all if there is a non-trivial codecvt installed. However if the codecvt returns true for always_noconv(), then this function can dump an entire string to fwrite, instead of doing it a character at a time under overflow(). This just makes sense. I stopped short of a full implementation of N3665 because in order to do so, xsputn would have to allocate a buffer when always_noconv() returned false, and I don't want to go to that expense. llvm-svn: 188077
-
Daniel Dunbar authored
llvm-svn: 188076
-
Matt Kopec authored
Patch by Richard Mitton. llvm-svn: 188075
-
Benjamin Kramer authored
llvm-svn: 188074
-
Daniel Dunbar authored
llvm-svn: 188073
-
Daniel Dunbar authored
llvm-svn: 188072
-
Mihai Popa authored
In Thumb1, only one variant is supported: CPS{effect} {flags} Thumb2 supports three: CPS{effect}.W {flags} CPS{effect} {flags} {mode} CPS {mode} Canonically, .W should be used only when ambiguity is present between encodings of different width. The wide suffix is still accepted for the latter two forms via aliases. llvm-svn: 188071
-
John Thompson authored
llvm-svn: 188070
-
Evgeniy Stepanov authored
%n does not increase the input item count. The new code emits writes to %n arguments even if it has run out of input items. llvm-svn: 188069
-
Alexey Samsonov authored
llvm-svn: 188068
-
Mihai Popa authored
The long encoding for Thumb2 unconditional branches is broken. Additionally, there is no range checking for target operands; as such for instructions originating in assembly code, only short Thumb encodings are generated, regardless of the bitsize needed for the offset. Adding range checking is non trivial due to the representation of Thumb branch instructions. There is no true difference between conditional and unconditional branches in terms of operands and syntax - even unconditional branches have a predicate which is expected to match that of the IT block they are in. Yet, the encodings and the permitted size of the offset differ. Due to this, for any mnemonic there are really 4 encodings to choose for. The problem cannot be handled in the parser alone or by manipulating td files. Because the parser builds first a set of match candidates and then checks them one by one, whatever tablegen-only solution might be found will ultimately be dependent of the parser's evaluation order. What's worse is that due to the fact that all branches have the same syntax and the same kinds of operands, that order is governed by the lexicographical ordering of the names of operand classes... To circumvent all this, any necessary disambiguation is added to the instruction validation pass. llvm-svn: 188067
-
Benjamin Kramer authored
llvm-svn: 188066
-
Benjamin Kramer authored
llvm-svn: 188065
-
Ulrich Weigand authored
llvm-svn: 188064
-
Benjamin Kramer authored
llvm-svn: 188063
-
Richard Sandiford authored
llvm-svn: 188062
-
David Majnemer authored
Make sure we can properly generate code when the UUID has curly braces on it, strip the curly braces at the sema layer. This fixes PR16813. llvm-svn: 188061
-
David Majnemer authored
Revert r188055 which reverted r188053. An unrelated change previously snuck in. llvm-svn: 188060
-
Pavel Labath authored
Summary: ExprEngine had code which specificaly disabled using CXXTempObjectRegions in InitListExprs. This was a hack put in r168757 to silence a false positive. The underlying problem seems to have been fixed in the mean time, as removing this code doesn't seem to break anything. Therefore I propose to remove it and solve PR16629 in the process. Reviewers: jordan_rose CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1325 llvm-svn: 188059
-
Alexey Samsonov authored
llvm-svn: 188058
-
Alexey Samsonov authored
llvm-svn: 188057
-
Alexander Kornienko authored
Use isCharInSet from llvm/Support/UnicodeCharRanges.h, added a test for double-width characters in FixIt-hints. Summary: This is a follow-up to r187837. Reviewers: gribozavr, jordan_rose Reviewed By: jordan_rose CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1306 llvm-svn: 188056
-
David Majnemer authored
This commit reverts r188053. It is breaking the build bots. llvm-svn: 188055
-
Craig Topper authored
llvm-svn: 188054
-
David Majnemer authored
We mangled them like: L___uuid_12345678-1234-1234-1234-123456789abc We should've mangled them like: __GUID_12345678_1234_1234_1234_123456789abc Furthermore, they are external symbols. llvm-svn: 188053
-
Rui Ueyama authored
__ImageBase is a symbol having 4 byte integer equal to the image base address of the resultant executable. The linker is expected to create the symbol as if it were read from a file. In order to emit the symbol contents only when the symbol is actually referenced, we created a pseudo library file to wrap the linker generated symbol. The library file member is emitted to the output only when the member is actually referenced, which is suitable for our purpose. llvm-svn: 188052
-
Craig Topper authored
Change asserts at the top of getVectorShuffle to check that LHS and RHS have the same type as the result. Previously the asserts were only checking that RHS and LHS were the same type and had the same element type as the result. All downstream code for ISD::VECTOR_SHUFFLE requires the types to be the same. Also removed one unnecessary check of matched element counts that was present in the code. llvm-svn: 188051
-
Richard Smith authored
of local classes. We were previously handling this by performing qualified lookup within a function declaration(!!); replace it with the proper scope lookup. llvm-svn: 188050
-
Rui Ueyama authored
llvm-svn: 188049
-
Hal Finkel authored
For most libm ISD nodes, TargetLoweringBase::initActions sets the default scalar-type action to Expand, and leaves the vector-type action default as Legal. This is not appropriate for the new ISD::FROUND node (which no backend but PowerPC handles explicitly). Fixes PR16842. llvm-svn: 188048
-
Saleem Abdulrasool authored
Currently, when an invalid attribute is encountered on processing a .s file, clang will abort due to llvm_unreachable. Invalid user input should not cause an abnormal termination of the compiler. Change the interface to return a boolean to indicate the failure as a first step towards improving hanlding of malformed user input to clang. Signed-off-by:
Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 188047
-
Rui Ueyama authored
llvm-svn: 188046
-
Rui Ueyama authored
llvm-svn: 188045
-
Lang Hames authored
un-breaks simple use cases while I work on more general support. <rdar://problem/14487667> llvm-svn: 188044
-
Jordan Rose authored
Patch by Karthik Bhat, modified slightly by me. llvm-svn: 188043
-
Daniel Dunbar authored
llvm-svn: 188042
-
Daniel Dunbar authored
llvm-svn: 188041
-
Daniel Dunbar authored
- With compatibility hack in lit.__init__, so this hopefully shouldn't break anything. llvm-svn: 188040
-