- Feb 28, 2013
-
-
Greg Clayton authored
Fix the getCompilerVersion() function to do the right thing with clang 5.0 which now says "LLVM version" instead of "clang version". llvm-svn: 176282
-
Greg Clayton authored
llvm-svn: 176281
-
Greg Clayton authored
Also removed the use of llvm::raw_string_ostream as it wasn't needed. Also fixed a crasher that could occur when the following line returned a C string tied to a local variable: return OS.str().c_str(); I am guessing "static std::string buf;" was supposed to get assigned to "OS.str()" and then have "buf.c_str()" returned. Modified the non-apple version code to cache its value and not recompute the version every time. llvm-svn: 176274
-
Daniel Malea authored
llvm-svn: 176269
-
Daniel Malea authored
- make LLDB version number match Clang (and the Debian package) - use the same revision detection magic that Clang uses to report SVN/Git revisions - update test case as per above Example output: $ lldb -v lldb version 3.3 (https://dmalea@llvm.org/svn/llvm-project/lldb/trunk revision 176211 clang revision 176208 llvm revision 176208) ss This line, and those below, will be ignored-- M source/lldb.cpp M test/help/TestHelp.py M source/Makefile llvm-svn: 176268
-
Jason Molenda authored
work. There isn't any target in the xcode project file which will build this yet. llvm-svn: 176234
-
Sean Callanan authored
- made sure we tell Clang not to try to complete the type since it can't be completed from its origin any more; and - fixed a silly bug where we tried to forget about the original decl's origins rather than the deported decl's origin. These produced some crashes in ptr_refs, especially under libgmalloc. <rdar://problem/13256150> llvm-svn: 176233
-
Enrico Granata authored
llvm-svn: 176232
-
Enrico Granata authored
the log entry for SBThread::GetProcess() would not include the pointer to the process because we were using the value of the (otherwise unused) process_sp - instead of fetching the SP from sb_process llvm-svn: 176231
-
- Feb 27, 2013
-
-
Greg Clayton authored
Fixed a case where the result of std::string's c_str() method was being called on a local variable and returned as a const char * incorrectly. We used to cache the thread names for threads in the current host process, but we shoudn't be caching that as the names can change over time, so now a std::string is returned from Host::GetThreadName(). llvm-svn: 176217
-
Greg Clayton authored
llvm-svn: 176210
-
Matt Kopec authored
llvm-svn: 176206
-
Jim Ingham authored
in the Process destructor. Doing it there can be too late depending on what the internal state and ProcessGDBRemote Async threads are doing. <rdar://problem/13297536> llvm-svn: 176203
-
Daniel Malea authored
- pull up logic to get compiler version from TestUniqueTypes.py into lldbtest.py - work around an GCC 4.6.3 issue llvm-svn: 176190
-
Jason Molenda authored
binary to lldb already check that the UUID of that binary and the UUID of the kernel binary in memory match. Warn if they don't. <rdar://problem/13184784> llvm-svn: 176160
-
rdar://problem/13289828Enrico Granata authored
Categories were conceptually meant to be placeable on test methods as well as test classes and test directories However, that was broken. This checkin fixes that. The incantation required to put categories on individual test case methods is not exactly elegant, unfortunately: def test_case(self): """Test me.""" self.do_it() def _test_case_get_categories(self): return ["demo"] test_case.getCategories = _test_case_get_categories del _test_case_get_categories llvm-svn: 176158
-
Jason Molenda authored
from being fetched correctly. <rdar://problem/13290877> llvm-svn: 176141
-
rdar://problem/13287629Greg Clayton authored
Fixed an issue with clang 500's new way to represent static class variables where it emits a DW_TAG_member with a DW_AT_external(0x01) attribute and no DW_AT_data_member_location. llvm-svn: 176140
-
- Feb 26, 2013
-
-
Jim Ingham authored
llvm-svn: 176132
-
Daniel Malea authored
llvm-svn: 176126
-
Greg Clayton authored
llvm-svn: 176106
-
Greg Clayton authored
llvm-svn: 176071
-
Sean Callanan authored
SymbolFileDWARF code: - If a class is being uniqued to another copy of itself and the method lists don't match exactly, take a slow path and at least unique the methods that they have in common. - Sort name_to_die maps before querying them. This would otherwise result in uniquing failures because looking up a name in a map that contains it would often fail. - Tolerate classes in other symbol files in the case of debugging with .o files rather than with a .dSYM. We used to assume that the classes being uniqued were in the same symbol file, causing unpredictable results. This will dramatically reduce the number of cases where a function does not have a valid DeclContext. <rdar://problem/12153915> llvm-svn: 176067
-
Enrico Granata authored
llvm-svn: 176065
-
Jason Molenda authored
plugin.dynamic-loader.darwin-kernel.load-kexts setting, don't print any messages about loading the kexts (which isn't being done) and don't read the Mach-O headers out of memory (which can be slow and they're not being used for anything at this point). llvm-svn: 176064
-
rdar://problem/13289157Greg Clayton authored
Set the exception breakpoints more efficiently by specifying two module basenames as module filters for Apple vendor targets. llvm-svn: 176063
-
rdar://problem/13282582Han Ming Ong authored
Really don't call sysctl again when we already have the result. llvm-svn: 176062
-
Jim Ingham authored
Remove the getCategory from TestDataFormatterObjC.py, since it was superceded by the .categories file, and didn't work anyway (getCategories currently has to be a method on the test class, not on the test.) Add a "basic_process" category, and start to find some tests for simple process running sniff tests. llvm-svn: 176061
-
Enrico Granata authored
llvm-svn: 176059
-
- Feb 25, 2013
-
-
rdar://problem/13281528Greg Clayton authored
Fixed issues with the SBModule "sections" property, and with the SBBlock "ranges" attributes. llvm-svn: 176051
-
Greg Clayton authored
llvm-svn: 176049
-
Daniel Malea authored
- was causing buildbot failures due to unexpected pass llvm-svn: 176048
-
Enrico Granata authored
llvm-svn: 176041
-
rdar://problem/13286937Greg Clayton authored
Make sure to not look in self.images when we have a symbolicator with a live process. llvm-svn: 176040
-
Jim Ingham authored
Add a log line when debugserver exits, and clean up some of the other standard logs output to make it more useful. llvm-svn: 176039
-
rdar://problem/13282582Han Ming Ong authored
Need available CPU on target device to support CPU reporting. llvm-svn: 176008
-
- Feb 23, 2013
-
-
rdar://problem/13265297Greg Clayton authored
StackFrame assumes m_sc is additive, but m_sc can lose its target. So now the SymbolContext::Clear() method takes a bool that indicates if the target should be cleared. Modified all existing code to properly set the bool argument. llvm-svn: 175953
-
Jason Molenda authored
in the gdb-remote Process plugin files. llvm-svn: 175947
-
Enrico Granata authored
llvm-svn: 175946
-
Enrico Granata authored
Fixing issues in previous checkin - still figuring out how to make expectedFailureClang take the bugnumber llvm-svn: 175945
-