Benjamin Kramer
466b31e900
Move a bunch of trivial methods into the header. These compile down to 1-2
...
instructions so it's really profitable to inline them.
llvm-svn: 106450
2010-06-21 19:26:54 +00:00
Owen Anderson
836af6bb36
Fix comment, per Chris' suggestion.
...
llvm-svn: 106192
2010-06-17 00:51:12 +00:00
Owen Anderson
c7da5f413b
Switch from qsort_r to std::stable_sort for a performance win and improved portability.
...
llvm-svn: 106116
2010-06-16 17:34:05 +00:00
Eli Friedman
932197d89c
Add missing stdio.h include; fix include path for ClangASTContext.h.
...
llvm-svn: 105921
2010-06-13 19:06:42 +00:00
Greg Clayton
94e5d78888
Updated LLVM/Clang to revision from 2010-06-13T06:00.
...
llvm-svn: 105918
2010-06-13 17:34:29 +00:00
Greg Clayton
9b81a3146f
Anders Carlsson patch for member pointers. Thanks Anders.
...
llvm-svn: 105868
2010-06-12 01:20:30 +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
Greg Clayton
ae5680be64
Fixed an issue where a return value wasn't being returned from Symtab::CompareSymbolValueByIndexLinux.
...
llvm-svn: 105802
2010-06-11 00:51:46 +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
Jason Molenda
f7a4715fdb
SymbolVendor.mm doesn't seem to have any Objective-C in it;
...
move to SymbolVendor.cpp. Xcode project file updated.
llvm-svn: 105755
2010-06-09 21:48:33 +00:00
Eli Friedman
48862d4571
Minor warning/error fixes.
...
llvm-svn: 105718
2010-06-09 09:32:42 +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