<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/compiler-rt/lib/memprof/memprof_linux.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>Reapply "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)</title>
<updated>2024-06-17T22:20:57+00:00</updated>
<author>
<name>Florian Mayer</name>
<email>fmayer@google.com</email>
</author>
<published>2024-06-17T22:04:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c6049e67efaaca34ca8ad93b007397b118574b81'/>
<id>c6049e67efaaca34ca8ad93b007397b118574b81</id>
<content type='text'>
Updated MapDynamicShadow callsite in asan_win.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated MapDynamicShadow callsite in asan_win.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)</title>
<updated>2024-06-17T21:38:26+00:00</updated>
<author>
<name>Florian Mayer</name>
<email>fmayer@google.com</email>
</author>
<published>2024-06-17T21:38:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1adf0fae0503fccd1216865dd0276c3ec97f62a7'/>
<id>1adf0fae0503fccd1216865dd0276c3ec97f62a7</id>
<content type='text'>
Reverts llvm/llvm-project#95069

Broke windows bot</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#95069

Broke windows bot</pre>
</div>
</content>
</entry>
<entry>
<title>[HWASan] [compiler-rt] support non-4k pages on Android (#95069)</title>
<updated>2024-06-17T20:21:34+00:00</updated>
<author>
<name>Florian Mayer</name>
<email>fmayer@google.com</email>
</author>
<published>2024-06-17T20:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5b04b6fe3fabba8f76d730da3c0d528e1dd0c184'/>
<id>5b04b6fe3fabba8f76d730da3c0d528e1dd0c184</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[sanitizer] Lift AsanDoesNotSupportStaticLinkage to sanitizer_common.h. NFC (#80948)</title>
<updated>2024-02-17T03:36:39+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2024-02-17T03:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8443ce563bf3500b705ab3507ae586e2a72d31f4'/>
<id>8443ce563bf3500b705ab3507ae586e2a72d31f4</id>
<content type='text'>
The `_DYNAMIC` reference from `AsanDoesNotSupportStaticLinkage` ensures
that `clang++ -fsanitize=address -static` gets a linker error.
`MemprofDoesNotSupportStaticLinkage` is similar for `-fmemory-profile`.
Move the functions to sanitizer_common.h to be used by more sanitizers
on ELF platforms.

Fuchsia does not use interposition and opts out the check (its
`AsanDoesNotSupportStaticLinkage` is a no-op).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `_DYNAMIC` reference from `AsanDoesNotSupportStaticLinkage` ensures
that `clang++ -fsanitize=address -static` gets a linker error.
`MemprofDoesNotSupportStaticLinkage` is similar for `-fmemory-profile`.
Move the functions to sanitizer_common.h to be used by more sanitizers
on ELF platforms.

Fuchsia does not use interposition and opts out the check (its
`AsanDoesNotSupportStaticLinkage` is a no-op).</pre>
</div>
</content>
</entry>
<entry>
<title>[compiler-rt] Remove a few workarounds for FreeBSD 9.x (#76263)</title>
<updated>2023-12-29T10:10:13+00:00</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2023-12-29T10:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=450be89136d43b7c0e1487b0be41167ffbf00f7d'/>
<id>450be89136d43b7c0e1487b0be41167ffbf00f7d</id>
<content type='text'>
Support for FreeBSD 11.x was dropped so garbage collect a few FreeBSD
9.x workarounds and make 12.x the oldest supported releases.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support for FreeBSD 11.x was dropped so garbage collect a few FreeBSD
9.x workarounds and make 12.x the oldest supported releases.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][memprof] Remove unused code</title>
<updated>2022-07-21T01:50:45+00:00</updated>
<author>
<name>Vitaly Buka</name>
<email>vitalybuka@google.com</email>
</author>
<published>2022-07-21T01:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e8554402b30b3e3758182a1a34ac952b70702f0e'/>
<id>e8554402b30b3e3758182a1a34ac952b70702f0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[asan][memprof] Declare _DYNAMIC and fix -Wparentheses</title>
<updated>2020-12-28T04:28:59+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2020-12-28T04:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fde3ae88ee4236d6ecb8178c6c893df5a5a04437'/>
<id>fde3ae88ee4236d6ecb8178c6c893df5a5a04437</id>
<content type='text'>
Declare `extern ElfW(Dyn) _DYNAMIC[];` so that it will trivially work on musl.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Declare `extern ElfW(Dyn) _DYNAMIC[];` so that it will trivially work on musl.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MemProf] Memory profiling runtime support</title>
<updated>2020-10-16T16:47:02+00:00</updated>
<author>
<name>Teresa Johnson</name>
<email>tejohnson@google.com</email>
</author>
<published>2020-09-03T22:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3d4bba302d2460b9ac6463ef920c301f1f40fb41'/>
<id>3d4bba302d2460b9ac6463ef920c301f1f40fb41</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
