Michael J. Spencer
e0c4560b50
Support/FileSystem: Add create_hard_link implementation.
...
llvm-svn: 120792
2010-12-03 05:58:41 +00:00
Michael J. Spencer
73e60d029c
Support/ADT/Twine: Make toNullTerminatedStringRef not rely on UB :(.
...
llvm-svn: 120791
2010-12-03 05:42:25 +00:00
Michael J. Spencer
31e310cda0
Support/FileSystem: Add create_director{y,ies} implementations.
...
llvm-svn: 120790
2010-12-03 05:42:11 +00:00
Sean Callanan
4a5fcbb92b
Removed a compiler warning.
...
llvm-svn: 120788
2010-12-03 03:02:31 +00:00
Rafael Espindola
4c70eeaf33
Make EmitIntValue more efficient and more like what we do for leb128. The
...
difference is much smaller (about 0.3s) but significant.
llvm-svn: 120787
2010-12-03 02:54:21 +00:00
Bill Wendling
4e7eb12f6f
I did it wrong. Don't disregard these encodings here.
...
llvm-svn: 120786
2010-12-03 02:25:59 +00:00
Michael J. Spencer
b5ca6447bb
Unittests/Support/PathV2: Cleanup and remove output.
...
llvm-svn: 120785
2010-12-03 02:22:34 +00:00
Michael J. Spencer
ab16054770
unittests/Support/PathV2: Comment out test because some systems are saying that
...
a file exists when it shouldn't.
llvm-svn: 120784
2010-12-03 02:10:30 +00:00
Argyrios Kyrtzidis
833be2ddd8
Also show notes about the taken path in TextPathDiagnostics.
...
llvm-svn: 120783
2010-12-03 02:03:26 +00:00
Bill Wendling
36110d5d1a
Don't overwrite the opcode passed into the T1Special pattern.
...
llvm-svn: 120782
2010-12-03 02:02:58 +00:00
Bill Wendling
4d8ff86b9e
Add Thumb encoding for some more instructions.
...
llvm-svn: 120780
2010-12-03 01:55:47 +00:00
Bill Wendling
e38f1149fa
Ignore decode table conflicts in the tMOVgpr2tgpr, tMOVgpr2gpr, and tMOVtgpr2gpr
...
instructions. They are handled as special moves, but encoded as a normal move.
llvm-svn: 120779
2010-12-03 01:55:30 +00:00
Sean Callanan
979f74d1dd
Fixed object lifetimes in ClangExpressionDeclMap
...
so that it is not referring to potentially stale
state during IR execution.
This was done by introducing modular state (like
ClangExpressionVariable) where groups of state
variables have well-defined lifetimes:
- m_parser_vars are specific to parsing, and only
exist between calls to WillParse() and DidParse().
- m_struct_vars survive for the entire execution
of the ClangExpressionDeclMap because they
provide the template for a materialized set of
expression variables.
- m_material_vars are specific to a single
instance of materialization, and only exist
between calls to Materialize() and
Dematerialize().
I also removed unnecessary references to long-
lived state that really didn't need to be referred
to at all, and also introduced several assert()s
that helped me diagnose a few bugs (fixed too).
llvm-svn: 120778
2010-12-03 01:38:59 +00:00
Michael J. Spencer
a41772aa0f
Support/Windows/FileSystem: Remove unneeded toNullTerminatedStringRef.
...
llvm-svn: 120777
2010-12-03 01:21:38 +00:00
Michael J. Spencer
4571040ea1
Support/FileSystem: Add unique_file and exists implementations.
...
llvm-svn: 120776
2010-12-03 01:21:28 +00:00
Michael J. Spencer
65d8694a45
Support/FileSystem: Remove temp_directory_path.
...
llvm-svn: 120775
2010-12-03 01:21:04 +00:00
Rafael Espindola
675fbb2ad1
Do with uleb the same trick we now do with dwarf line/address advances. This
...
avoids creating leb128 fragments and speeds up the test in PR8711 to 33s.
llvm-svn: 120774
2010-12-03 01:19:49 +00:00
Argyrios Kyrtzidis
2fd03a60e4
Remove leftover code and use the text path diagnostic client even without a specified output file since
...
it just uses diagnostic notes.
llvm-svn: 120773
2010-12-03 01:17:19 +00:00
Chris Lattner
6882f800c5
clarify comment
...
llvm-svn: 120772
2010-12-03 01:11:13 +00:00
Nick Lewycky
7d3fc3728f
Add a flag to control the "indirection of non-volatile null pointer will be
...
deleted, not trap" warning. Fixed PR8729. Patch by Elias Pipping!
llvm-svn: 120771
2010-12-03 01:10:02 +00:00
Argyrios Kyrtzidis
c95e596728
Introduce TextPathDiagnostics, a simple PathDiagnosticClient that outputs as diagnostic notes
...
the sequence of events; useful for testing.
llvm-svn: 120770
2010-12-03 00:58:14 +00:00
Argyrios Kyrtzidis
7c0570e40f
Handle any number of SourceRanges inside BugReporter::FlushReport.
...
llvm-svn: 120769
2010-12-03 00:58:10 +00:00
Argyrios Kyrtzidis
c23f0e0a03
Rename Create[*]DiagnosticClient -> create[*]DiagnosticClient.
...
llvm-svn: 120768
2010-12-03 00:58:08 +00:00
Rafael Espindola
57ab708bdd
Try to resolve symbol differences early, and if successful create a plain
...
data fragment. This reduces the time to assemble the test in 8711 from 60s to
54s.
llvm-svn: 120767
2010-12-03 00:55:40 +00:00
Bill Wendling
f0b36a3cfd
The tLDR instruction wasn't encoded properly:
...
<MCInst 2251 <MCOperand Reg:70> <MCOperand Reg:66> <MCOperand Imm:0> <MCOperand Reg:0> <MCOperand Imm:14> <MCOperand Reg:0>>
Notice that the "reg" here is 0, which is an invalid register. Put a check in
the code for this to prevent crashing.
llvm-svn: 120766
2010-12-03 00:53:22 +00:00
Bob Wilson
518a6e6879
Add support for "_lane" variants of VMUL, VMLA, and VMLS Neon intrinsics.
...
llvm-svn: 120765
2010-12-03 00:34:21 +00:00
Bob Wilson
e6b421ccb5
Add support for "_lane" variants of VMUL, VMLA, and VMLS Neon intrinsics.
...
llvm-svn: 120764
2010-12-03 00:34:12 +00:00
Bob Wilson
791934e122
Support using macros for Neon intrinsics implemented without builtins.
...
Intrinsics implemented with Clang builtins could already be implemented as
either inline functions or macros, but intrinsics implemented directly
(without builtins) could only be inline functions.
llvm-svn: 120763
2010-12-03 00:34:09 +00:00
Greg Clayton
621801846e
Fixed DoResume to watch for the correct return value from WaitForIsRunning to avoid spurious errors due to previous fix.
...
llvm-svn: 120762
2010-12-03 00:27:48 +00:00
Greg Clayton
a975990111
Fixed bad logic that was trying to determine if the gdb remote resumed a process or not.
...
llvm-svn: 120761
2010-12-03 00:19:58 +00:00
Devang Patel
5eed2e63f8
It may not be an option to skip .debug_line if there are file reference in already emitted debug info. So, for now, emit dummy line table entry to make older linker and assemblers happy. This is not a new behavior, original AsmPrinter emitted similar line table entries.
...
llvm-svn: 120760
2010-12-03 00:10:48 +00:00
Ted Kremenek
8c4c74f4fb
Fix diagnostic for reporting bad escape sequence.
...
Patch by Paul Curtis!
llvm-svn: 120759
2010-12-03 00:09:56 +00:00
Johnny Chen
eb3411dc41
Log just the thread name, not process/thread id for easier human reading.
...
llvm-svn: 120751
2010-12-02 23:31:02 +00:00
Devang Patel
88d794c628
Hide tests, that check .loc, .file in output assembly, from darwin9 buildbot.
...
llvm-svn: 120750
2010-12-02 23:29:58 +00:00
Greg Clayton
38a614034a
Updated to latest LLVM/Clang for external AST source changes that allow
...
TagDecl subclasses and Objective C interfaces to complete themselves through
the ExternalASTSource class.
llvm-svn: 120749
2010-12-02 23:20:03 +00:00
Jim Grosbach
dea4d78fa9
Trailing whitespace.
...
llvm-svn: 120748
2010-12-02 23:05:38 +00:00
Devang Patel
6c814194d6
Disable .loc support on older darwin OSes.
...
llvm-svn: 120747
2010-12-02 23:03:57 +00:00
Chris Lattner
5cd8475564
Reflow to a style doug prefers, increasing indentation :-)
...
llvm-svn: 120746
2010-12-02 22:52:04 +00:00
Johnny Chen
7528af2f86
When logging, enable process and thread ID recordings. Also add 'state' to the lldb
...
log-categories, so it now becomes "event process expr state".
llvm-svn: 120745
2010-12-02 22:47:52 +00:00
Douglas Gregor
6dd3a6a181
When we're performing an explicit cast of some sort, don't complain
...
about deprecated Objective-C pointer conversions. Plus, make sure to
actually set an appropriate AssignmentAction when performing an
implicit conversion from an InitializationSequence. Fixes regressions
in the GCC DejaGNU testsuite.
llvm-svn: 120744
2010-12-02 21:47:04 +00:00
Devang Patel
8cabd938ed
Use set directive for StartMinusEndExpr.
...
This is a fix for llvm-gcc-i386-darwin9 buildbot failure.
llvm-svn: 120742
2010-12-02 21:32:30 +00:00
Stuart Hastings
34744b1d3e
Test case for r120740. Radar 8712503.
...
llvm-svn: 120741
2010-12-02 21:25:55 +00:00
Fariborz Jahanian
fb40bda54e
Improve on objc diagnostics. // rdar://8721692
...
llvm-svn: 120737
2010-12-02 21:00:16 +00:00
Peter Collingbourne
19b961d5f9
Merge transparent union types using member's unqualified type
...
llvm-svn: 120736
2010-12-02 21:00:06 +00:00
Ted Kremenek
9e618ed1c9
Fix range in printf warnings for invalid conversion specifiers.
...
llvm-svn: 120735
2010-12-02 20:57:51 +00:00
Duncan Sands
4e7263b86f
Adjust this test for the fact that the stores are no longer
...
being combined (which is being tracked as PR8699).
llvm-svn: 120734
2010-12-02 20:56:51 +00:00
Johnny Chen
c4221e47b0
Fixed a typo in comment.
...
llvm-svn: 120733
2010-12-02 20:53:05 +00:00
Tobias Grosser
083379f815
Move check of command line options after command line parsing.
...
The check to not allow -analyze and -disable-output at the same time was done
before parsing the command line flags. Therefore it never triggered, and in case
both options where used opt segfaulted. Fix this by moving this check a after
command line parsing.
llvm-svn: 120732
2010-12-02 20:35:16 +00:00
Jim Grosbach
d35424f9ca
XFAIL for now. If someone with access to an ARM/Linux host wants to have a look
...
that would be great. They're ARM JIT failures, so without that, it's tough.
llvm-svn: 120731
2010-12-02 20:20:32 +00:00
Evan Cheng
5709254bd5
Fix test.
...
llvm-svn: 120730
2010-12-02 20:17:34 +00:00