From 2d1fbfc87b87e2726252e05db6f27177c6965b09 Mon Sep 17 00:00:00 2001 From: Jimmy Yuen Ho Wong Date: Tue, 3 Aug 2021 08:14:38 +0100 Subject: [PATCH] Fix error while disassembling native code on macOS * lisp/emacs-lisp/disass.el (disassemble-internal): Make sure the regexp that searches for a symbol takes into account of llvm-objdump's output format. --- lisp/emacs-lisp/disass.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el index 6ac76f1c19..bb2e4849ad 100644 --- a/lisp/emacs-lisp/disass.el +++ b/lisp/emacs-lisp/disass.el @@ -95,6 +95,7 @@ disassemble-internal (re-search-forward (concat "^.*" (regexp-quote (concat "<" + (when (eq system-type 'darwin) "_") (comp-c-func-name (subr-name obj) "F" t) ">:")))) -- 2.32.0