diff options
| author | Eli Zaretskii | 2022-10-29 18:59:04 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-10-29 18:59:04 +0300 |
| commit | df7ca69920e0a21ec425118090a4116fa0f7c0a6 (patch) | |
| tree | bac8514261184ba12eac08faba1f2e3c516a4710 | |
| parent | 81d7827f34f1ac1108891421a44b36554776b04e (diff) | |
| download | emacs-df7ca69920e0a21ec425118090a4116fa0f7c0a6.tar.gz emacs-df7ca69920e0a21ec425118090a4116fa0f7c0a6.zip | |
Set 'native-comp-debug' to zero on MS-Windows
* lisp/emacs-lisp/comp.el (native-comp-debug): Don't emit debug
symbols on MS-Windows. The default was originally made 1 because
without that, C backtraces on Windows would not show
natively-compiled functions correctly, or would even stop short of
reaching the topmost call frame. But that turned out to be due to
a bug in GDB, which was meanwhile fixed in GDB 12. So we can now
reset the value back to zero, and gain smaller *.eln files on
MS-Windows.
| -rw-r--r-- | lisp/emacs-lisp/comp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 21395c23d9a..863e895efdb 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -57,7 +57,7 @@ | |||
| 57 | :safe #'integerp | 57 | :safe #'integerp |
| 58 | :version "28.1") | 58 | :version "28.1") |
| 59 | 59 | ||
| 60 | (defcustom native-comp-debug (if (eq 'windows-nt system-type) 1 0) | 60 | (defcustom native-comp-debug 0 |
| 61 | "Debug level for native compilation, a number between 0 and 3. | 61 | "Debug level for native compilation, a number between 0 and 3. |
| 62 | This is intended for debugging the compiler itself. | 62 | This is intended for debugging the compiler itself. |
| 63 | 0 no debug output. | 63 | 0 no debug output. |
| @@ -67,7 +67,7 @@ This is intended for debugging the compiler itself. | |||
| 67 | passes and libgccjit log file." | 67 | passes and libgccjit log file." |
| 68 | :type 'natnum | 68 | :type 'natnum |
| 69 | :safe #'natnump | 69 | :safe #'natnump |
| 70 | :version "28.1") | 70 | :version "29.1") |
| 71 | 71 | ||
| 72 | (defcustom native-comp-verbose 0 | 72 | (defcustom native-comp-verbose 0 |
| 73 | "Compiler verbosity for native compilation, a number between 0 and 3. | 73 | "Compiler verbosity for native compilation, a number between 0 and 3. |