[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b44abac: * Fix error while disassembling native code on macOS
From: |
Andrea Corallo |
Subject: |
master b44abac: * Fix error while disassembling native code on macOS |
Date: |
Tue, 3 Aug 2021 04:27:55 -0400 (EDT) |
branch: master
commit b44abacc8cfee02de45773424dd7b18d8794a6c3
Author: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Commit: Andrea Corallo <akrl@sdf.org>
* 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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el
index 6ac76f1..712fa51 100644
--- a/lisp/emacs-lisp/disass.el
+++ b/lisp/emacs-lisp/disass.el
@@ -95,6 +95,8 @@ redefine OBJECT if it is a symbol."
(re-search-forward (concat "^.*"
(regexp-quote
(concat "<"
+ (when (eq system-type
'darwin)
+ "_")
(comp-c-func-name
(subr-name obj) "F" t)
">:"))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b44abac: * Fix error while disassembling native code on macOS,
Andrea Corallo <=