compiler/generic/genesis: Report FDEFN addresses for undefined functions.
authorAlastair Bridgewater <nyef@kana.lisphacker.com>
Sun, 4 Nov 2012 17:43:27 +0000 (12:43 -0500)
committerAlastair Bridgewater <nyef@kana.lisphacker.com>
Thu, 8 Nov 2012 23:25:07 +0000 (18:25 -0500)
  * In order to make debugging bootstrapping problems easier,
include the address of FDEFNs which have not been defined in the
cold-sbcl.map file.  This address is what shows up in ldb when
such an FDEFN is invoked.

src/compiler/generic/genesis.lisp

index a019dab..9cc373f 100644 (file)
@@ -3086,7 +3086,9 @@ initially undefined function references:~2%")
 
       (setf undefs (sort undefs #'string< :key #'fun-name-block-name))
       (dolist (name undefs)
-        (format t "~S~%" name)))
+        (format t "~8,'0X: ~S~%"
+                (descriptor-bits (gethash name *cold-fdefn-objects*))
+                name)))
 
     (format t "~%~|~%layout names:~2%")
     (collect ((stuff))