| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
parallel with the rest of the tools directory as it depends on Clang.
This patch was first applied in r125956 and subsequently reverted in
r125964 as it broke in-tree builds. Makefile.rules was fixed up in
r126070 to handle missing optional directories for the in-tree case,
so it should be safe now to bring this patch back in.
llvm-svn: 126071
|
| |
|
|
|
|
|
| |
exist. This makes the build logic symmetric for both the in tree and
out of tree cases.
llvm-svn: 126070
|
| |
|
|
|
|
| |
This fixes PR 8738, 9060 and 9132.
llvm-svn: 126069
|
| |
|
|
|
|
|
|
|
| |
of testing for its presence at cmake time.
This way the build automatically regenerates the makefiles when a svn
update brings in a new sublibrary.
llvm-svn: 126068
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
N streams by making the stream a vector of stream shared pointers
that is protected by a mutex. Streams can be get/set by index which
allows indexes to be defined as stream indentifiers. If a stream is
set at index 3 and there are now streams in the collection, then
empty stream objects are inserted to ensure that stream at index 3
has a valid stream. There is also an append method that allows a stream
to be pushed onto the stack. This will allow our streams to be very
flexible in where the output goes.
Modified the CommandReturnObject to use the new StreamTee functionality.
This class now defines two StreamTee indexes: 0 for the stream string
stream, and 1 for the immediate stream. This is used both on the output
and error streams.
Added the ability to get argument types as strings or as descriptions.
This is exported through the SBCommandInterpreter API to allow external
access.
Modified the Driver class to use the newly exported argument names from
SBCommandInterpreter::GetArgumentTypeAsCString().
llvm-svn: 126067
|
| |
|
|
|
|
| |
intended.
llvm-svn: 126066
|
| |
|
|
| |
llvm-svn: 126065
|
| |
|
|
| |
llvm-svn: 126064
|
| |
|
|
| |
llvm-svn: 126063
|
| |
|
|
| |
llvm-svn: 126062
|
| |
|
|
|
|
| |
whether Objective-C exceptions are enabled or not (they are by default).
llvm-svn: 126061
|
| |
|
|
| |
llvm-svn: 126060
|
| |
|
|
|
|
| |
a typedef.
llvm-svn: 126059
|
| |
|
|
|
|
|
| |
the instruction passed in. Make sure to account for this correctly, instead
of looping infinitely.
llvm-svn: 126058
|
| |
|
|
|
|
| |
comparison itself is a constant expression. Fixes PR7536.
llvm-svn: 126057
|
| |
|
|
|
|
|
|
| |
designators: allowing codegen when the element initializer is a
constant or something else without a side effect. This unblocks
enough to let process.c in the linux kernel build, PR9257.
llvm-svn: 126056
|
| |
|
|
|
|
|
| |
attribute, we also care about those with the "constructor"
attribute. Fixes PR6521.
llvm-svn: 126055
|
| |
|
|
| |
llvm-svn: 126054
|
| |
|
|
|
|
| |
are disabled.
llvm-svn: 126053
|
| |
|
|
|
|
| |
of libxul from 12m31.084s to 7m1.359s.
llvm-svn: 126052
|
| |
|
|
|
|
|
| |
bot. I am not sure if this is valid Valgrind exclusion file syntax, but the
Internet seems to think so.
llvm-svn: 126051
|
| |
|
|
| |
llvm-svn: 126050
|
| |
|
|
|
|
| |
The syntax is (add_dependencies target-name depend-target1 ...).
llvm-svn: 126049
|
| |
|
|
|
|
|
|
| |
includes explicitly-specified template arguments) to a function
template specialization in cases where no deduction is performed or
deduction fails. Patch by Faisal Vali, fixes PR7505!
llvm-svn: 126048
|
| |
|
|
|
|
|
| |
This is reasonable to do since all bt-mem forms do the
same thing.
llvm-svn: 126047
|
| |
|
|
|
|
| |
change.
llvm-svn: 126045
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
constant, including globals. This makes us generate much more "pretty" pattern
globals as well because it doesn't break it down to an array of bytes all the
time.
This enables us to handle stores of relocatable globals. This kicks in about
48 times in 254.gap, giving us stuff like this:
@.memset_pattern40 = internal constant [2 x %struct.TypHeader* (%struct.TypHeader*, %struct.TypHeader*)*] [%struct.TypHeader* (%struct.TypHeader*, %struct
.TypHeader*)* @IsFalse, %struct.TypHeader* (%struct.TypHeader*, %struct.TypHeader*)* @IsFalse], align 16
...
call void @memset_pattern16(i8* %scevgep5859, i8* bitcast ([2 x %struct.TypHeader* (%struct.TypHeader*, %struct.TypHeader*)*]* @.memset_pattern40 to i8*
), i64 %tmp75) nounwind
llvm-svn: 126044
|
| |
|
|
|
|
| |
them as splat values.
llvm-svn: 126041
|
| |
|
|
|
|
|
|
|
|
|
| |
unsplatable values into memset_pattern16 when it is available
(recent darwins). This transforms lots of strided loop stores
of ints for example, like 5 in vpr:
Formed memset: call void @memset_pattern16(i8* %4, i8* getelementptr inbounds ([16 x i8]* @.memset_pattern9, i32 0, i32 0), i64 %tmp25)
from store to: {%3,+,4}<%11> at: store i32 3, i32* %scevgep, align 4, !tbaa !4
llvm-svn: 126040
|
| |
|
|
| |
llvm-svn: 126039
|
| |
|
|
|
|
|
|
|
|
|
| |
current instantiation, even though we have a RecordDecl describing
them. Fixes PR9255.
Amusingly, I've had this patch sitting around for a month or two
because it was "obviously" wrong, but hadn't gotten around to writing
a test case to submit the fix :)
llvm-svn: 126038
|
| |
|
|
| |
llvm-svn: 126037
|
| |
|
|
|
|
|
| |
warn about polymorphic classes (which have virtual functions) rather
than dynamic classes (which are polymorphic or have virtual bases).
llvm-svn: 126036
|
| |
|
|
|
|
| |
correct and is not worth fixing. Fixes PR8396.
llvm-svn: 126035
|
| |
|
|
|
|
| |
intended.
llvm-svn: 126034
|
| |
|
|
|
|
|
|
| |
lead to a serious slowdown (4%) on parsing of Cocoa.h. This memory
optimization should be revisited later, when we have time to look at
the generated code.
llvm-svn: 126033
|
| |
|
|
|
|
|
| |
It would be nice to propagate this into the other functions to replace
LLVM_LINK_COMPONENTS and friends, but I don't plan to do that.
llvm-svn: 126032
|
| |
|
|
|
|
| |
up add_clang_unittest's calling convention.
llvm-svn: 126031
|
| |
|
|
|
|
| |
without crashing; enable it for C++.
llvm-svn: 126026
|
| |
|
|
| |
llvm-svn: 126025
|
| |
|
|
|
|
|
|
|
| |
needed or provided by the libraries under test.
The next step is to import http://www.itk.org/Wiki/CMakeMacroParseArguments to
make the empty string parameter unnecessary.
llvm-svn: 126024
|
| |
|
|
|
|
| |
the special way we model "linker input" arguments.
llvm-svn: 126023
|
| |
|
|
|
|
| |
reinterpret_cast.
llvm-svn: 126021
|
| |
|
|
|
|
| |
back by one pointer.
llvm-svn: 126020
|
| |
|
|
|
|
|
|
| |
if one is
confident enough that he knows what he is doing.
llvm-svn: 126019
|
| |
|
|
| |
llvm-svn: 126018
|
| |
|
|
|
|
|
|
|
| |
but it's not reasonable for the diagnostic to figure that out.
Pointed out by Benjamin Kramer.
Also clarify the logic here.
llvm-svn: 126017
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
without defining them. This should be an error, but I'm paranoid about
"uses" that end up not actually requiring a definition. I'll revisit later.
Also, teach IR generation to not set internal linkage on variable
declarations, just for safety's sake. Doing so produces an invalid module
if the variable is not ultimately defined.
Also, fix several places in the test suite where we were using internal
functions without definitions.
llvm-svn: 126016
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
StreamString to just exporting
a Stream, and then added GetOutputData & GetErrorData to get the accumulated data.
- Added a StreamTee that will tee output to two provided lldb::StreamSP's.
- Made the CommandObjectReturn use this so you can Tee the results immediately to
the debuggers output file, as well as saving up the results to return when the command
is done executing.
- HandleCommands now uses this so that if you have a set of commands that continue the target
you will see the commands come out as they are processed.
- The Driver now uses this to output the command results as you go, which makes the interface
more reactive seeming.
llvm-svn: 126015
|
| |
|
|
| |
llvm-svn: 126013
|