Greg Clayton
87408b61af
Bumped Xcode project build version to 34 for lldb-34.
...
llvm-svn: 120886
2010-12-04 02:47:38 +00:00
Greg Clayton
d46c87a1a8
More reverting of the EOF stuff as the API was changed which we don't want to
...
do. Closing on EOF is an option that can be set on the
lldb_private::Communication or the lldb::SBCommunication objects after they
are created. Of course the EOF support isn't hooked up, so they don't do
anything at the moment, but they are left in so when the code is fixed, it
will be easy to get working again.
llvm-svn: 120885
2010-12-04 02:39:47 +00:00
John McCall
f3eb96fccf
Kill the KVC l-value kind and calculate the base expression when emitting
...
the l-value.
llvm-svn: 120884
2010-12-04 02:32:38 +00:00
Greg Clayton
7788e5fd64
Reverted the close on EOF stuff again as it was crashing Xcode.
...
llvm-svn: 120883
2010-12-04 02:22:36 +00:00
Peter Collingbourne
fafa66500b
Implement -cl-std=
...
llvm-svn: 120882
2010-12-04 01:51:40 +00:00
Peter Collingbourne
422542625b
Implement -cl-mad-enable
...
llvm-svn: 120881
2010-12-04 01:51:33 +00:00
Peter Collingbourne
61d6a75345
Implement -cl-fast-relaxed-math
...
llvm-svn: 120880
2010-12-04 01:51:23 +00:00
Peter Collingbourne
b8d9995c0e
Implement -cl-unsafe-math-optimizations
...
llvm-svn: 120879
2010-12-04 01:51:14 +00:00
Peter Collingbourne
0ba5ac8544
Implement -cl-finite-math-only
...
llvm-svn: 120878
2010-12-04 01:51:05 +00:00
Peter Collingbourne
0b69e1a628
Implement -cl-single-precision-constant
...
llvm-svn: 120877
2010-12-04 01:50:56 +00:00
Peter Collingbourne
31587c86c1
Implement -cl-opt-disable
...
llvm-svn: 120876
2010-12-04 01:50:45 +00:00
Peter Collingbourne
b8e5dd44ed
Refactor optimisation level code
...
llvm-svn: 120875
2010-12-04 01:50:36 +00:00
Peter Collingbourne
aaeb73b159
Introduce CompilerInvocation::setLangDefaults function
...
This patch refactors the CompilerInvocation code to introduce a
CompilerInvocation::setLangDefaults function, which can set up a
LangOptions with the defaults for a given language and language
standard. This function is useful for non-command line based Clang
clients which need to set up a CompilerInvocation manually for a
specific language.
llvm-svn: 120874
2010-12-04 01:50:27 +00:00
Argyrios Kyrtzidis
d22d8ff343
Minor refactoring; have BugReport::getRanges return a pair of iterator, no functionality change.
...
llvm-svn: 120873
2010-12-04 01:12:15 +00:00
Argyrios Kyrtzidis
86a26b8e35
Mark functions referenced by 'cleanup' attribute as used. Fixes rdar://8728293
...
llvm-svn: 120872
2010-12-04 01:12:11 +00:00
Johnny Chen
80554b804d
Add a test method test_pass_host_env_vars to 'class SettingsCommandTestCase(TestBase)'
...
which tests the recently added lldb feature of automatically passing the host environment
variables to the launched process.
llvm-svn: 120871
2010-12-04 00:44:56 +00:00
Michael J. Spencer
db5576a185
Support/FileSystem: Add status implementation.
...
llvm-svn: 120870
2010-12-04 00:32:40 +00:00
Michael J. Spencer
32a15547da
Support/SystemError: Make error_category and error_code auto-bool-conversion-safe.
...
llvm-svn: 120869
2010-12-04 00:32:24 +00:00
Michael J. Spencer
962fbc42b5
Support/Windows/FileSystem: Fix MinGW warnings.
...
llvm-svn: 120868
2010-12-04 00:32:14 +00:00
Michael J. Spencer
818ab4aad4
Support/FileSystem: Add file_size implementation.
...
llvm-svn: 120867
2010-12-04 00:31:48 +00:00
Rafael Espindola
1048e75fb9
Next step: Only pad debug_line when the target is darwin. Add a FIXME to avoid
...
doing that if the target is darwin10 or newer.
This fixes
*) Direct object emission was producing objects without the workaround on
darwin9.
*) Assembly printing was producing objects with the workaround on linux.
llvm-svn: 120866
2010-12-04 00:31:13 +00:00
Jim Grosbach
ce18d7ebb5
Encode condition code for Thumb1 conditional branch instruction.
...
llvm-svn: 120865
2010-12-04 00:20:40 +00:00
Greg Clayton
eed4b5b230
Bumped lldb version to lldb-33 and debugserver to debugserver-120.
...
llvm-svn: 120864
2010-12-04 00:16:27 +00:00
Greg Clayton
5c5f1a1267
Added the ability to display the new "target.process.inherit-env" setting.
...
llvm-svn: 120863
2010-12-04 00:12:24 +00:00
Greg Clayton
85851dde89
Added the ability for a process to inherit the current host environment. This
...
was done as an settings variable in the process for now. We will eventually
move all environment stuff over to the target, but we will leave it with the
process for now. The default setting is for a process to inherit the host
environment. This can be disabled by setting the "inherit-env" setting to
false in the process.
llvm-svn: 120862
2010-12-04 00:10:17 +00:00
Johnny Chen
f10af38ba5
Forgot to also check in this file along with the TestBreakpointConditions.py change.
...
llvm-svn: 120861
2010-12-04 00:07:24 +00:00
Devang Patel
6b5d5b5c3b
Do not try luck by using given name to create temporary file. In parallel builds it may not work.
...
llvm-svn: 120860
2010-12-03 23:58:31 +00:00
Johnny Chen
038d436ac8
Test that "breakpoint modify -c ''" clears the condition for the last created
...
breakpoint, so that when the breakpoint hits, val = 1 instead of 3.
llvm-svn: 120859
2010-12-03 23:57:17 +00:00
Jim Grosbach
5bae054f07
Correctly size-reduce the t2CMPzrr instruction to tCMPzr when possible.
...
tCMPzhir has undefined behavior when both source registers are low registers.
rdar://8728577
llvm-svn: 120858
2010-12-03 23:54:18 +00:00
Bill Wendling
127d7485f1
Use correct variable names to match the patterns.
...
llvm-svn: 120857
2010-12-03 23:44:24 +00:00
Jakob Stoklund Olesen
8bdfb0c166
Also inore '()' while creating mdnode name from ObjC symbol name.
...
llvm-svn: 120856
2010-12-03 23:40:45 +00:00
Fariborz Jahanian
ecbbb6e9ba
Diagnose when accessing property in a class method and
...
no property accessor class method to be found, instead of
crashing in IRGen. // rdar://8703553
llvm-svn: 120855
2010-12-03 23:37:08 +00:00
Rafael Espindola
f8af778e1f
First step in fixing MC. Make it clear that we are avoiding a bug in the
...
darwin9 linker, what is needed to avoid it and where to get more information.
Also make the workaround simpler. Just the regular end_sequence we normally
create is more than 4 bytes.
Tested by building cctools and ld64 from darwin9 on a darwin10 system and using
those. I checked that I was able to reproduce the bootstrap failure when
the the workaround was disabled.
llvm-svn: 120854
2010-12-03 23:36:59 +00:00
Devang Patel
f0227ccf3f
Ignore '+' while creating mdnode name from ObjC symbol name.
...
llvm-svn: 120853
2010-12-03 23:29:30 +00:00
Jim Grosbach
a09cbbeef5
Match pattern operand names to expected encoding field names. This corrects the
...
operand encoding ordering of the instruction.
llvm-svn: 120852
2010-12-03 23:21:25 +00:00
Jim Ingham
e0a978487d
Documentation fix - explain how to unset conditions. Also fix unsetting -x and -t so they work.
...
llvm-svn: 120851
2010-12-03 23:04:19 +00:00
Jim Ingham
a571c010ab
Document the fact that "breakpoint modify" with no breakpoint acts on the
...
last created breakpoint.
llvm-svn: 120850
2010-12-03 22:37:19 +00:00
Jim Grosbach
e4fee20498
Remove incorrect BL target encoding (it's similar to, but not the same as the
...
ARM instruction). Add encoding of bits 13 and 11.
llvm-svn: 120849
2010-12-03 22:33:42 +00:00
Jim Grosbach
567ebd0cb5
Encode the 32-bit wide Thumb (and Thumb2) instructions with the high order
...
halfword being emitted to the stream first. rdar://8728174
llvm-svn: 120848
2010-12-03 22:31:40 +00:00
Nate Begeman
a6c55a3195
Revert this change since it breaks a couple of the AVX tests.
...
I'm unclear if the tests are actually correct or not, but reverting for now.
llvm-svn: 120847
2010-12-03 22:29:15 +00:00
Jakob Stoklund Olesen
922e1fac6c
Rename virtRegMap to avoid confusion with the VirtRegMap that it isn't.
...
llvm-svn: 120846
2010-12-03 22:25:09 +00:00
Jakob Stoklund Olesen
4408603a9e
Coalesce debug locations when possible, causing less DBG_VALUE instructions to
...
be emitted.
llvm-svn: 120845
2010-12-03 22:25:07 +00:00
Nate Begeman
a3b00dd64f
Scalar f32/f64 are also subregs of ymm regs
...
llvm-svn: 120844
2010-12-03 21:54:39 +00:00
Nate Begeman
842455332f
Remove SSE1-4 disable when AVX is enabled. While this may be useful for development,
...
it completely breaks scalar fp in xmm regs when AVX is enabled.
llvm-svn: 120843
2010-12-03 21:54:14 +00:00
Jakob Stoklund Olesen
afc2bc2c04
Emit DBG_VALUE instructions from LiveDebugVariables.
...
llvm-svn: 120842
2010-12-03 21:47:10 +00:00
Jakob Stoklund Olesen
25cde34ae4
Also update virtRegMap when renaming virtual registers.
...
llvm-svn: 120841
2010-12-03 21:47:08 +00:00
Greg Clayton
6997489661
Make sure to index the DWARF if we already haven't so we can resolve forward
...
declarations when they haven't been found yet.
llvm-svn: 120840
2010-12-03 21:42:06 +00:00
Abramo Bagnara
21e9d860b5
Fixed typo.
...
llvm-svn: 120839
2010-12-03 21:39:42 +00:00
Jim Grosbach
ca7eaaafda
When using the 'push' mnemonic for Thumb2 stmdb, be explicit when it's the
...
32-bit wide version by adding the .w suffix.
llvm-svn: 120838
2010-12-03 20:33:01 +00:00
Johnny Chen
729c339a1c
Add the '-F' option to the test driver, which makes the running of test suite failfast.
...
As soon as an error or a failure is encountered, it stops the test suite.
llvm-svn: 120837
2010-12-03 19:59:35 +00:00