| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Revert "[MemProf] Defer profile file setup until dump time" This reverts commit ea1826ee57984d4f44fdb4b35a47169d393618ed. This change is breaking the ability of tests to override the profile output file. Need to add a mechanism to do that before resubmitting. | 3 年前 | |
[memprof] Use -memprof-runtime-default-options to set options during compile time (#118874) Add the __memprof_default_options_str variable, initialized via the -memprof-runtime-default-options LLVM flag, to hold the default options string for memprof. This allows us to set these options during compile time in the clang invocation. Also update the docs to describe the various ways to set these options. | 1 年前 | |
[memprof] Add flag to control profile dump at exit (#119452) Add the dump_at_exit flag to control whether or not profiles should be dumped when the program exits. Since we can call __memprof_profile_dump() directly, we don't necessarily need to dump profiles at exit. | 1 年前 | |
[memprof] Make the raw binary format the default. Set the default memprof serialization format as binary. 9 tests are updated to use print_text=true. Also fixed an issue with concatenation of default and test specified options (missing separator). Differential Revision: https://reviews.llvm.org/D113617 | 4 年前 | |
[asan][test] Additional test requiring weak symbol for dyld64. Extension of D127929 rdar://80997227 Differential Revision: https://reviews.llvm.org/D130499 | 3 年前 | |
[compiler-rt][memprof] adding free_sized/free_aligned_sized intercept… (#154011) …ions. | 11 个月前 | |
[NFC] Update the test compiler to use clangxx. This ensures that the c++ test gets the right CXXFLAGS if required. | 4 年前 | |
[MemProf] Make Test work with Internal Shell There is one test that uses a subshell to generate a long path name. Replace it with a python invocation and a readfile substitution. This helps move compiler-rt over to lit's internal shell. Reviewers: fmayer, snehasish, teresajohnson Reviewed By: fmayer, teresajohnson Pull Request: https://github.com/llvm/llvm-project/pull/165146 | 9 个月前 | |
Revert "[MemProf] Defer profile file setup until dump time" This reverts commit ea1826ee57984d4f44fdb4b35a47169d393618ed. This change is breaking the ability of tests to override the profile output file. Need to add a mechanism to do that before resubmitting. | 3 年前 | |
[MemProf] Memory profiling runtime support See RFC for background: http://lists.llvm.org/pipermail/llvm-dev/2020-June/142744.html Follow on companion to the clang/llvm instrumentation support in D85948 and committed earlier. This patch adds the compiler-rt runtime support for the memory profiling. Note that much of this support was cloned from asan (and then greatly simplified and renamed). For example the interactions with the sanitizer_common allocators, error handling, interception, etc. The bulk of the memory profiling specific code can be found in the MemInfoBlock, MemInfoBlockCache, and related classes defined and used in memprof_allocator.cpp. For now, the memory profile is dumped to text (stderr by default, but honors the sanitizer_common log_path flag). It is dumped in either a default verbose format, or an optional terse format. This patch also adds a set of tests for the core functionality. Differential Revision: https://reviews.llvm.org/D87120 | 5 年前 | |
[MemProf] Add sanitizer interface decls for histogram funcs. (#151398) Add the necessary sanitizer interface decls required when the memprof runtime is built in dynamic mode. This was a latent issue since we didn't add tests for the histogram feature in compiler-rt. These tests are run with ninja check-memprof-dynamic. I discovered this after the CI failures for #147854. | 11 个月前 | |
[memprof] Make the raw binary format the default. Set the default memprof serialization format as binary. 9 tests are updated to use print_text=true. Also fixed an issue with concatenation of default and test specified options (missing separator). Differential Revision: https://reviews.llvm.org/D113617 | 4 年前 | |
[MemProf] Memory profiling runtime support See RFC for background: http://lists.llvm.org/pipermail/llvm-dev/2020-June/142744.html Follow on companion to the clang/llvm instrumentation support in D85948 and committed earlier. This patch adds the compiler-rt runtime support for the memory profiling. Note that much of this support was cloned from asan (and then greatly simplified and renamed). For example the interactions with the sanitizer_common allocators, error handling, interception, etc. The bulk of the memory profiling specific code can be found in the MemInfoBlock, MemInfoBlockCache, and related classes defined and used in memprof_allocator.cpp. For now, the memory profile is dumped to text (stderr by default, but honors the sanitizer_common log_path flag). It is dumped in either a default verbose format, or an optional terse format. This patch also adds a set of tests for the core functionality. Differential Revision: https://reviews.llvm.org/D87120 | 5 年前 | |
[memprof] Remove the "Live on exit:" print for text format. We dropped the printing of live on exit blocks in rG1243cef245f6 - the commit changed the insertOrMerge logic. Remove the message since it is no longer needed (all live blocks are inserted into the hashmap) before serializing/printing the profile. Furthermore, the original intent was to capture evicted blocks so it wasn't entirely correct. Also update the binary format test invocation to remove the redundant print_text directive now that it is the default. Differential Revision: https://reviews.llvm.org/D114285 | 4 年前 | |
[memprof] dump memprof profile when receive deadly signals Currently memprof profile is dumped when program exits (call FinishAndWrite() in ~Allocator) or __memprof_profile_dump is manually called. For programs that never exit (e.g. server-side application), it will be useful to dump memprof profile when specific signal is received. This patch installs a signal handler for deadly signals(SIGSEGV, SIGBUS, SIGABRT, SIGILL, SIGTRAP, SIGFPE) like we do in other sanitizers. In the signal handler __memprof_profile_dump is called to dump memprof profile. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D134795 | 3 年前 | |
[MemProf] Add interface for reseting the profile file descriptor (#73714) Add __memprof_profile_reset() interface which can be used to facilitate dumping multiple rounds of profiles from a single binary run. This closes the current file descriptor and resets the internal file descriptor to invalid (-1), which ensures the underlying writer reopens the recorded profile filename. This can be used once the client is done moving or copying a dumped profile, to prepare for reinvoking profile dumping. | 2 年前 | |
[MemProf] Memory profiling runtime support See RFC for background: http://lists.llvm.org/pipermail/llvm-dev/2020-June/142744.html Follow on companion to the clang/llvm instrumentation support in D85948 and committed earlier. This patch adds the compiler-rt runtime support for the memory profiling. Note that much of this support was cloned from asan (and then greatly simplified and renamed). For example the interactions with the sanitizer_common allocators, error handling, interception, etc. The bulk of the memory profiling specific code can be found in the MemInfoBlock, MemInfoBlockCache, and related classes defined and used in memprof_allocator.cpp. For now, the memory profile is dumped to text (stderr by default, but honors the sanitizer_common log_path flag). It is dumped in either a default verbose format, or an optional terse format. This patch also adds a set of tests for the core functionality. Differential Revision: https://reviews.llvm.org/D87120 | 5 年前 | |
[memprof] Use -memprof-runtime-default-options to set options during compile time (#118874) Add the __memprof_default_options_str variable, initialized via the -memprof-runtime-default-options LLVM flag, to hold the default options string for memprof. This allows us to set these options during compile time in the clang invocation. Also update the docs to describe the various ways to set these options. | 1 年前 | |
[memprof] Make the raw binary format the default. Set the default memprof serialization format as binary. 9 tests are updated to use print_text=true. Also fixed an issue with concatenation of default and test specified options (missing separator). Differential Revision: https://reviews.llvm.org/D113617 | 4 年前 | |
[memprof] Make the raw binary format the default. Set the default memprof serialization format as binary. 9 tests are updated to use print_text=true. Also fixed an issue with concatenation of default and test specified options (missing separator). Differential Revision: https://reviews.llvm.org/D113617 | 4 年前 | |
[memprof] Make the raw binary format the default. Set the default memprof serialization format as binary. 9 tests are updated to use print_text=true. Also fixed an issue with concatenation of default and test specified options (missing separator). Differential Revision: https://reviews.llvm.org/D113617 | 4 年前 | |
[MemProf] Make test more resilient to cpu scheduling Loosen up the matching so that occasional cpu migrations don't break the test. This showed up occasionally in internal testing. Differential Revision: https://reviews.llvm.org/D143000 | 3 年前 | |
[memprof][NFC] Fix mismatched-new-delete in memprof tests Fix mismatched-new-delete in memprof test_new_load_store.cpp and test_terse.cpp Reviewed By: snehasish Differential Revision: https://reviews.llvm.org/D116024 | 4 年前 | |
[memprof][NFC] Fix mismatched-new-delete in memprof tests Fix mismatched-new-delete in memprof test_new_load_store.cpp and test_terse.cpp Reviewed By: snehasish Differential Revision: https://reviews.llvm.org/D116024 | 4 年前 | |
[memprof] Make the raw binary format the default. Set the default memprof serialization format as binary. 9 tests are updated to use print_text=true. Also fixed an issue with concatenation of default and test specified options (missing separator). Differential Revision: https://reviews.llvm.org/D113617 | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 11 个月前 | ||
| 4 年前 | ||
| 9 个月前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 11 个月前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 5 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 |