History log of /external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b6bac2a4c964ecd70aae70bc5b24b0f87e6d5344 22-Apr-2013 Enrico Granata <egranata@apple.com> Proper English not optional

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180053 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
177ac0db135db53edd2c6158d8e3190d2e78b566 15-Apr-2013 Enrico Granata <egranata@apple.com> More updates to test cases

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179560 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
3f2f741bb533b78e2fac5332c4698338ea2fd3ac 04-Apr-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13457391>

LLDB now can use a single dash for all long options for all commands form the command line and from the command interpreter. This involved just switching all calls from getopt_long() to getopt_long_only().



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
b1b36ec6dcfbe7c7dfa423d50cb7c2296deca68e 01-Apr-2013 Enrico Granata <egranata@apple.com> Integrating option parsing in TestCase for added convenience
To hook it up to individual test cases:
- define GetLongOptions() in your test case class to return something other than NULL (hopefully an array of options :-)
- implement ParseOption() to check for the short option char and do the right thing - return true at the end if you want more options to come your way or false if you don’t
- make sure that your Setup() call takes int& and char**& so that optind post-processing can happen - and call TestCase::Setup from your setup

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178482 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
952e9dc874944fcdbbb224f3ec4fc2c859376f64 28-Mar-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13521159>

LLDB is crashing when logging is enabled from lldb-perf-clang. This has to do with the global destructor chain as the process and its threads are being torn down.

All logging channels now make one and only one instance that is kept in a global pointer which is never freed. This guarantees that logging can correctly continue as the process tears itself down.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
1a6ca000a8cbea0bdf736ed3f2615628bfd32e46 27-Mar-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13327940>

Cleaned up some paths.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
2bba866ae44707183679c1b974409d6386a76bac 27-Mar-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13327940>

Enhance automated testing to include evaluating function calls.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
073ce1767f25e16be65e2835092c0d2d51ee599a 23-Mar-2013 Greg Clayton <gclayton@apple.com> Added better measurements to test:
- memory delta and time for: target create
- memory delta and time for: setting breakpoint at main by name
- time to launch and hit bp at main
- overall memory of target create + bp main + run to main
- ovarall time of target create + bp main + run to main



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
1c31631dfbaacaf9ef61f45977fae0b29fdad1d2 23-Mar-2013 Greg Clayton <gclayton@apple.com> Make sure the "Release" builds link against the "Release" LLDB.framework and also output the results to /dev/stdout when no outfile is supplied.




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
ca107c2f633f71fff71f65697d5c9b0827544c31 22-Mar-2013 Greg Clayton <gclayton@apple.com> Added option parsing to the lldb_perf_clang performance test.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
9de4dec874148d30cc1d4c498d38cd048a8164ca 22-Mar-2013 Greg Clayton <gclayton@apple.com> Much more cleanup on the performance testing infrastructure:
- Added new abtract Results class to keep CoreFoundation out of the tests. There are many subclasses for different settings:
Results::Result::Dictionary
Results::Result::Array
Results::Result::Unsigned
Results::Result::Double
Results::Result::String
- Gauge<T> can now write themselves out via a templatized write to results function:
template <class T>
Results::ResultSP GetResult (const char *description, T value);

- There are four specializations of this so far:
template <>
Results::ResultSP GetResult (const char *description, double value);

template <>
Results::ResultSP GetResult (const char *description, uint64_t value);

template <>
Results::ResultSP GetResult (const char *description, std::string value);

template <>
Results::ResultSP GetResult (const char *description, MemoryStats value);
- Don't emit the virtual memory reading from the task info call as it really doesn't mean much as it includes way too much (shared cache + other stuff we don't have control over)
- Fixed other test cases to build correctly and use the new classes



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp
2d098408c757270ad1ae36475ab8300ecc1d3bc6 21-Mar-2013 Greg Clayton <gclayton@apple.com> Added a lldb-perf test case that will be used to time various aspects of debugging clang with LLDB.

This test case will measure memory usage and expression timings in frame zero and at higher frames.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/tools/lldb-perf/common/clang/lldb_perf_clang.cpp