emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp 9e9421c: * Fix bug#41346 assertion triggered while l


From: Andrea Corallo
Subject: feature/native-comp 9e9421c: * Fix bug#41346 assertion triggered while loading dump
Date: Sun, 17 May 2020 04:06:15 -0400 (EDT)

branch: feature/native-comp
commit 9e9421c7eecd74c9f163253ab760044fca53f26b
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    * Fix bug#41346 assertion triggered while loading dump
    
        * src/comp.c (load_comp_unit): While loading from dump lambda
        fixups are still to happen here.  Verify relocation coherency only
        after 'top_level_run' execution.
---
 src/comp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/comp.c b/src/comp.c
index dab102c..c9426d1 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -3720,10 +3720,9 @@ load_comp_unit (struct Lisp_Native_Comp_Unit *comp_u, 
bool loading_dump,
       /* Make sure data_ephemeral_vec still exists after top_level_run has run.
         Guard against sibling call optimization (or any other).  */
       data_ephemeral_vec = data_ephemeral_vec;
+      eassert (check_comp_unit_relocs (comp_u));
     }
 
-  eassert (check_comp_unit_relocs (comp_u));
-
   return;
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]