mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-27 09:37:38 +01:00
(unw_flush_cache): Also clear dyn_info_list_addr cache in the address space.
(Logical change 1.61)
This commit is contained in:
parent
51095505d9
commit
5dc0e152a9
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
void
|
void
|
||||||
unw_flush_cache (unw_addr_space_t as, unw_word_t lo, unw_word_t hi)
|
unw_flush_cache (unw_addr_space_t as, unw_word_t lo, unw_word_t hi)
|
||||||
{
|
{
|
||||||
|
/* clear dyn_info_list_addr cache: */
|
||||||
|
as->dyn_info_list_addr = 0;
|
||||||
|
|
||||||
/* This lets us flush caches lazily. The implementation currently
|
/* This lets us flush caches lazily. The implementation currently
|
||||||
ignores the flush range arguments (lo-hi). This is OK because
|
ignores the flush range arguments (lo-hi). This is OK because
|
||||||
unw_flush_cache() is allowed to flush more than the requested
|
unw_flush_cache() is allowed to flush more than the requested
|
||||||
|
|
Loading…
Reference in a new issue