Greg Clayton
9b81a3146f
Anders Carlsson patch for member pointers. Thanks Anders.
...
llvm-svn: 105868
2010-06-12 01:20:30 +00:00
Eli Friedman
2a16001328
Remove platform-specific includes from platform-independent code. Mac users,
...
please check whether this breaks anything.
llvm-svn: 105863
2010-06-12 00:22:37 +00:00
Owen Anderson
571e864e84
Revert my previous patch. Apparently the code-size impact of std::sort isn't acceptable.
...
llvm-svn: 105835
2010-06-11 21:07:26 +00:00
Owen Anderson
dc433611a2
Replace qsort_r with std::sort. This gets rid of a lot of portability
...
ickiness, and is cleaner to boot.
I'm fairly confident that I converted the comparator over properly,
and what testing I could figure out how to run seemed to pass, but it
would be great if someone in the know could check behind me.
llvm-svn: 105834
2010-06-11 20:52:57 +00:00
Eli Friedman
8d860d557f
Fix TimeValue::Offset* to take uint64_t
...
llvm-svn: 105812
2010-06-11 04:50:35 +00:00
Eli Friedman
102b925db8
Fix warning.
...
llvm-svn: 105808
2010-06-11 04:24:36 +00:00
Greg Clayton
41f923275e
Made lldb_private::ArchSpec more generic so that it can take a mach-o cpu
...
type and sub-type, or an ELF e_machine value. Also added a generic CPU type
to the arch spec class so we can have a single arch definition that the LLDB
core code can use. Previously a lot of places in the code were using the
mach-o definitions from a macosx header file.
Switches over to using "llvm/Support/MachO.h" for the llvm::MachO::XXX for the
CPU types and sub types for mach-o ArchSpecs. Added "llvm/Support/ELF.h" so
we can use the "llvm::ELF::XXX" defines for the ELF ArchSpecs.
Got rid of all CPU_TYPE_ and CPU_SUBTYPE_ defines that were previously being
used in LLDB.
llvm-svn: 105806
2010-06-11 03:25:34 +00:00
Eli Friedman
6eb685c264
Make Error.h and Error.cpp compile on Linux.
...
llvm-svn: 105798
2010-06-10 23:45:58 +00:00
Eli Friedman
a92e332b09
Make qsort_r usage "portable". Why does a function which seems so simple
...
have to be so complicated?
llvm-svn: 105797
2010-06-10 23:36:31 +00:00
Eli Friedman
892c22c244
Remove global init constructor from r105746.
...
llvm-svn: 105794
2010-06-10 23:00:15 +00:00
Eli Friedman
8c3ad54bc2
Remove unused uuid_t constructor for lldb_private::UUID.
...
llvm-svn: 105780
2010-06-10 03:08:05 +00:00
Eli Friedman
2c472ee18d
Don't use std::tr1::shared_ptr directly.
...
llvm-svn: 105773
2010-06-10 01:36:54 +00:00
Eli Friedman
fa95352569
Warning fix.
...
llvm-svn: 105754
2010-06-09 21:39:50 +00:00
Jason Molenda
a34a0c61ae
Move source/Utility/PseudoTerminal.h into include/lldb/Utility.
...
The top of the header file seems to indicate that this was
intended to be over at include/lldb/Core but we should be in line
with the .cpp file's location so it's include/lldb/Utility for now.
llvm-svn: 105753
2010-06-09 21:28:42 +00:00
Eli Friedman
a8f1aaabe2
Use portable endianness routine from LLVM.
...
llvm-svn: 105746
2010-06-09 19:26:51 +00:00
Eli Friedman
d0edb5b4a8
Don't include Python.h in the shared header.
...
llvm-svn: 105737
2010-06-09 18:31:38 +00:00
Eli Friedman
a2460bf9e5
Revert this fix for now, since it breaks the build.
...
llvm-svn: 105729
2010-06-09 17:25:16 +00:00
Eli Friedman
53444d394f
A few more minor fixes.
...
llvm-svn: 105721
2010-06-09 09:53:11 +00:00
Eli Friedman
b3c7ff50a0
A couple more minor error/warning fixes.
...
llvm-svn: 105715
2010-06-09 09:19:13 +00:00
Eli Friedman
65c8cd0094
More warning/error fixes.
...
llvm-svn: 105714
2010-06-09 08:57:38 +00:00
Eli Friedman
3c61077a56
Misc warning/error fixes.
...
llvm-svn: 105713
2010-06-09 08:53:28 +00:00
Eli Friedman
9c68da971f
Per surrounding style, use stdarg.h instead of cstdio, etc.
...
llvm-svn: 105711
2010-06-09 08:46:23 +00:00
Eli Friedman
e8b582256b
And a few more warning/error fixes.
...
llvm-svn: 105698
2010-06-09 07:22:30 +00:00
Eli Friedman
891d56baec
More random error/warning fixes.
...
llvm-svn: 105695
2010-06-09 07:14:21 +00:00
Eli Friedman
4ce61e1f5d
Minor warning fixes.
...
llvm-svn: 105691
2010-06-09 06:55:48 +00:00
Christopher Friesen
4cd709640c
missed a greater than to quote conversion
...
llvm-svn: 105690
2010-06-09 06:55:11 +00:00
Eli Friedman
f841bc881d
Fix include lines to use more conventional paths, part 1.
...
llvm-svn: 105688
2010-06-09 06:46:09 +00:00
Chris Lattner
30fdc8d841
Initial checkin of lldb code from internal Apple repo.
...
llvm-svn: 105619
2010-06-08 16:52:24 +00:00