Jim Ingham
75f27e8610
Cleanup - remove declarations of unimplemented functions.
...
llvm-svn: 168807
2012-11-28 20:09:03 +00:00
Sean Callanan
c83e341075
If Clang is looking for an Objective-C method on
...
a type, and we find it in the origin for that
type, don't look anywhere else; just report it.
<rdar://problem/12675970>
llvm-svn: 168766
2012-11-28 03:23:20 +00:00
Greg Clayton
e9adcab0a1
<rdar://problem/12639603>
...
Simplify the logging on ObjectFile::~ObjectFile() to not access an classes above the object file (like the module) so we don't crash when logging object lifetimes. The log message contains the "this" pointer value which can be matched up with the constructor log.
llvm-svn: 168754
2012-11-28 00:44:24 +00:00
Enrico Granata
75badc46e9
Fixing a silly typo in the previous patch
...
llvm-svn: 168748
2012-11-27 23:50:00 +00:00
Sean Callanan
948d4aba5d
Fixed the debugserver Xcode project to allow
...
DebugClang builds of LLDB to build a properly
codesigned debugserver. I did this by adding
a DebugClang configuration to debugserver that's
just a clone of the Debug configuration.
llvm-svn: 168746
2012-11-27 23:34:41 +00:00
Enrico Granata
bd83b87d72
<rdar://problem/12754509>
...
Make sure that ValueObjectDynamicValue clears itself when no dynamic type information can be found
This behavior was supposed to be already happening (as per the comment lines)
llvm-svn: 168743
2012-11-27 23:28:32 +00:00
Greg Clayton
3e9031e83e
<rdar://problem/12636970>
...
Properly detect the if unnamed bitfields are supported by clang if the major calng version is higher than 425.
llvm-svn: 168734
2012-11-27 22:18:23 +00:00
Daniel Malea
2bbf09e39e
Mark expected failures on Linux (due to bugzilla #14437 )
...
llvm-svn: 168727
2012-11-27 21:33:41 +00:00
Han Ming Ong
8594ae85d5
<rdar://problem/12759744> Provide physical memory distribution as part of profile data
...
Make use of unix system calls to provide physical memory usage profile data.
llvm-svn: 168720
2012-11-27 19:21:03 +00:00
Greg Clayton
3d51b9f957
<rdar://problem/12106825>
...
Allow the expression parser to see more than just data symbols. We now accept any symbol that has an address. We take precautions to only accept symbols by their mangled or demangled names only if the demangled name was not synthesized. If the demangled name is synthesized, then we now mark symbols accordingly and only compare against the mangled original name.
llvm-svn: 168668
2012-11-27 01:52:16 +00:00
Jim Ingham
9732e08a4d
The skipOnLinux decorator wasn't calling the test method correctly (no need to pass in the "self") resulting
...
in errors on MacOS X for the tests so decorated.
llvm-svn: 168662
2012-11-27 01:21:28 +00:00
Greg Clayton
37c36e486e
<rdar://problem/12636970>
...
Detect the new fixed clang that properly supports bitfields in objc classes.
llvm-svn: 168655
2012-11-27 00:59:26 +00:00
Jim Ingham
8559a35508
The Function calling thread plan was replacing the stored stop info too soon, causing recursive entry into the
...
breakpoint StopInfo's PerformAction, which is bad. Reworked this so that it is now correct.
<rdar://problem/12501259>
llvm-svn: 168634
2012-11-26 23:52:18 +00:00
Daniel Malea
b0916015ae
Improvement to TestGlobalVariables fix
...
- use lldb settings command instead of os.environ
- use dyldPath fixture variable instead of hardcoding LD_LIBRARY_PATH
- add tear-down hook to restore environment after testcase is run
llvm-svn: 168613
2012-11-26 21:23:12 +00:00
Daniel Malea
179ff29811
Fix for TestSharedLib.py (on Linux)
...
- use lldb 'settings' command to help testcase find shared library
- pull up dyldPath variable from TestLoadUnload.py to fixture base class (applicable in multiple cases)
llvm-svn: 168612
2012-11-26 21:21:11 +00:00
Han Ming Ong
84145857b4
<rdar://problem/12723044> For 'process plugin packet send…', we just send it async by default
...
There is no good reason not to use async.
llvm-svn: 168606
2012-11-26 20:42:03 +00:00
Jim Ingham
d77557d0d9
Missing “if (log)” on a log printf.
...
llvm-svn: 168602
2012-11-26 19:54:04 +00:00
Daniel Malea
bdf0fef067
Fix TestGlobalVariables.py (on Linux)
...
- setting LD_LIBRARY_PATH required for the test program to run correctly
llvm-svn: 168595
2012-11-26 16:54:53 +00:00
Daniel Malea
561e218517
Skip objC test on non-darwin platforms
...
llvm-svn: 168531
2012-11-23 22:15:09 +00:00
Daniel Malea
662f2b8be0
Remove decorator to skip event tests
...
- hang resolved in r168503
llvm-svn: 168530
2012-11-23 22:10:20 +00:00
Daniel Malea
93aec0f9a9
Update test status on Linux
...
- add decorators @expectedFailLinux and @skipOnLinux
- skip/mark xfail cases due to open bugzillas # 14323, 14416, 14423, 14424, 14425, 14426
Patch by Ashok Thirumurthi!
llvm-svn: 168529
2012-11-23 21:59:29 +00:00
Daniel Malea
a35970a6f6
Fix Linux bug that leaves lldb in invalid state after expression evaluation times out.
...
- Handle EINVAL return code from ptrace(GETSIGINFO, ...): not an error, but 'group-stop' state on Linux
- propagate SIGSTOP to inferior in above case
- this commit resolves the failure in expression_command/timeout testcase
Thanks to Sean Callanan & Matt Kopec for helping debug this problem
llvm-svn: 168523
2012-11-23 18:09:58 +00:00
Daniel Malea
8b9e71e6ef
Remove call to StopMonitor() from ProcessMonitor::Detach()
...
- StopMonitor() is called anyways from ProcessMonitor destructor later
- resolves hang in TestEvents.py
Patch by Matt Kopec!
llvm-svn: 168503
2012-11-22 18:21:05 +00:00
Daniel Malea
4bd152d8e6
Disable darwin-specific test on non-darwin platforms
...
llvm-svn: 168454
2012-11-21 20:17:07 +00:00
Daniel Malea
b90c36868e
Linux test case fixes
...
- missing includes in cpp test programs
- mismatched dwarf/dsym test cases
- make "com.apple.main-thread" expected string conditional on darwin platform
llvm-svn: 168452
2012-11-21 20:12:12 +00:00
Daniel Malea
1b8b392889
Clear auto-confirm setting on teardown for tests that use it
...
llvm-svn: 168382
2012-11-20 19:46:54 +00:00
Daniel Malea
096925233b
Use auto-confirm setting to avoid prompts causing some tests to appear to hang
...
- this commit addresses bugzilla #14385
llvm-svn: 168375
2012-11-20 18:53:21 +00:00
Daniel Malea
e199a571cb
Fix incorrect usage of buildDsym() in dwarf test
...
llvm-svn: 168371
2012-11-20 16:08:36 +00:00
Daniel Malea
a750049171
Skip dsym tests on Linux
...
llvm-svn: 168370
2012-11-20 16:07:33 +00:00
Filipe Cabecinhas
b3d5d71dfa
Rest of the fix for Thread
...
llvm-svn: 168343
2012-11-20 00:11:13 +00:00
Filipe Cabecinhas
648c5bd273
Remove unneeded const qualifier
...
llvm-svn: 168342
2012-11-20 00:03:38 +00:00
Filipe Cabecinhas
64b0107379
Remove unused member variable.
...
llvm-svn: 168339
2012-11-19 23:00:57 +00:00
Daniel Malea
218894788d
Temporarily skip tests known to hang on Linux
...
- opened bugzilla defects #14384 and #14385
llvm-svn: 168323
2012-11-19 20:55:52 +00:00
Daniel Malea
95ab3612f9
Linux fix: remove reference to cellspu (backend removed in llvm r167984)
...
llvm-svn: 168322
2012-11-19 19:46:04 +00:00
Greg Clayton
20921e1883
Added malloc introspection commands for Mac OS X for both GDB and LLDB.
...
llvm-svn: 168315
2012-11-19 17:47:29 +00:00
Greg Clayton
e4afd4d175
Add more info for shell commands being used by DebugSymbols.framework.
...
llvm-svn: 168314
2012-11-19 17:38:24 +00:00
Jason Molenda
d251c9d163
Han Ming's commit in r168228 had a bunch of 4-space tabs
...
in the source files. Expand to spaces. No content changes,
just whitespace.
llvm-svn: 168238
2012-11-17 01:41:04 +00:00
Han Ming Ong
c811d382f0
Follow up on <rdar://12720514>. Removed commented out code.
...
llvm-svn: 168232
2012-11-17 00:33:14 +00:00
Han Ming Ong
ab3b8b22a1
<rdar://problem/12720514> Sub-TLF: Provide service to profile the inferior
...
This allows client to query profiling states on the inferior.
llvm-svn: 168228
2012-11-17 00:21:04 +00:00
Greg Clayton
6670c7e4b4
Added symbols page for Mac OS X that explains how DebugSymbols.framework can be customized.
...
llvm-svn: 168224
2012-11-16 23:50:32 +00:00
Filipe Cabecinhas
83ae33d461
Fix expected error message in test.
...
llvm-svn: 168220
2012-11-16 23:18:41 +00:00
Greg Clayton
d97ec1c0ce
<rdar://problem/12238339>
...
Make sure architectures are obeyed for skinny mach files.
llvm-svn: 168205
2012-11-16 21:36:10 +00:00
Greg Clayton
38d880ac01
Fix lldb to compile with top of tree LLVM/clang.
...
llvm-svn: 168204
2012-11-16 21:35:22 +00:00
Greg Clayton
474148e4ac
<rdar://problem/12712928>
...
Removed an assert that was for debug only.
llvm-svn: 168190
2012-11-16 20:00:00 +00:00
Daniel Malea
f0854b070a
Update RecordingMemoryManager as per change to RuntimeDyld base class
...
made in upstream llvm (r168114)
llvm-svn: 168184
2012-11-16 19:17:44 +00:00
Jason Molenda
c78555c540
Change RegisterContextLLDB's unwind logging to report which stack frame
...
finally was able to restore a register, instead of just reporting the
frames that couldn't supply the reg.
llvm-svn: 168139
2012-11-16 06:15:40 +00:00
Jason Molenda
aff2a269e3
A change in how we search for saved register values unintentionally
...
allowed volatile registers to be returned up the stack. That leads
to unexpected/incorrect values provided to the user and we need to
avoid that.
<rdar://problem/12714247>
llvm-svn: 168123
2012-11-16 01:03:31 +00:00
Jim Ingham
b42f3af336
Don't lock the thread list during ThreadList::ShouldStop. That does too
...
much work for this to make sense. Just copy the current thread list and
operate on that. Prevents some deadlocks.
llvm-svn: 168106
2012-11-15 22:44:04 +00:00
Greg Clayton
824e7c0dfb
<rdar://problem/12125010>
...
Handle universal BSD archives correctly when parsing DWARF in .o files with debug map.
llvm-svn: 168075
2012-11-15 19:37:18 +00:00
Jim Ingham
ef404fc9c6
Explain how to use "expr -u" as the lldb equivalent of "set unwind-on-signal 0; print".
...
llvm-svn: 168071
2012-11-15 19:13:33 +00:00