[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt b6958c3e0a 277/323: * beardbolt.el: preserve-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt b6958c3e0a 277/323: * beardbolt.el: preserve-library-functions -> preserve-weak-symbols |
Date: |
Thu, 9 Mar 2023 10:58:38 -0500 (EST) |
branch: externals/beardbolt
commit b6958c3e0af9b9be7c7563465b33d52daf297bca
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
* beardbolt.el: preserve-library-functions -> preserve-weak-symbols
Since that's what it is at the moment.
---
README.md | 1 -
beardbolt.el | 8 ++++----
starters/slow-to-process.cpp | 2 +-
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index e722fd1745..3c3af416b4 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,6 @@ corresponds to, and vice versa.
- Faster (2x) and more responsive (TODO: show benchmarks)
- Less buggy (TODO: show actual rmsbolt problems)
- Has rainbows.
-- Has `beardbolt-preserve-library-functions` switch like godbolt.
- Simpler code (half the LOC)
### Installation
diff --git a/beardbolt.el b/beardbolt.el
index 2c3a3ea719..c41837d03f 100644
--- a/beardbolt.el
+++ b/beardbolt.el
@@ -78,7 +78,7 @@ If you are not on x86, you most likely want to set this to
nil."
:type 'boolean
:safe 'booleanp
:group 'beardbolt)
-(defcustom bb-preserve-library-functions t
+(defcustom bb-preserve-weak-symbols t
"Whether to preserve library function."
:type 'boolean
:safe 'booleanp
@@ -421,7 +421,7 @@ Returns a list (SPEC ...) where SPEC looks like (WHAT FN
CMD)."
demangle-ovs
(preserve-comments (buffer-local-value 'bb-preserve-comments
bb--source-buffer))
(preserve-labels (buffer-local-value 'bb-preserve-labels
bb--source-buffer))
- (preserve-library-functions (buffer-local-value
'bb-preserve-library-functions bb--source-buffer)))
+ (preserve-weak-symbols (buffer-local-value 'bb-preserve-weak-symbols
bb--source-buffer)))
(cl-flet ((schedule-demangling-maybe (from to)
(when (and (eq (char-after from) ?_)
(not (bb--demangle-quick from to)))
@@ -459,7 +459,7 @@ Returns a list (SPEC ...) where SPEC looks like (WHAT FN
CMD)."
((and (not preserve-comments) (match bb-comment-only)) :kill)
((match bb-defines-global bb-defines-function-or-object)
(intern (match-string 1) globals))
- ((and (not preserve-library-functions) (match bb-defines-weak))
+ ((and (not preserve-weak-symbols) (match bb-defines-weak))
(intern (match-string 1) weaks))
((match bb-source-file-hint)
(puthash (string-to-number (match-string 1))
@@ -481,7 +481,7 @@ Returns a list (SPEC ...) where SPEC looks like (WHAT FN
CMD)."
((match bb-label-start)
(cond
((bb--reachable-p (match-string 1) globals label-graph synonyms
- (unless preserve-library-functions weaks))
+ (unless preserve-weak-symbols weaks))
(setq reachable-label (match-string 1))
(schedule-demangling-maybe (match-beginning 0) (match-end 0))
:preserve)
diff --git a/starters/slow-to-process.cpp b/starters/slow-to-process.cpp
index cb33f378bb..4434e371cb 100644
--- a/starters/slow-to-process.cpp
+++ b/starters/slow-to-process.cpp
@@ -1091,7 +1091,7 @@ template class String<int>;
// beardbolt-command: "g++ -std=c++17 -O3"
// rmsbolt-command: "g++ -std=c++17 -O3"
// beardbolt-disassemble: nil
-// beardbolt-preserve-library-functions: t
+// beardbolt-preserve-weak-symbols: t
// rmsbolt-filter-directives: t
// beardbolt-asm-format: att
// rmsbolt-asm-format: "att"
- [elpa] externals/beardbolt 7619539a86 243/323: starters/elisp: Fix compiler warning, (continued)
- [elpa] externals/beardbolt 7619539a86 243/323: starters/elisp: Fix compiler warning, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt d37371b088 249/323: Fix byte-compilation warnings, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 1873e605ab 256/323: Remove unused test/test-helper.el, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ce91938102 261/323: Simplify management of bb--temp-dir, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 264b614805 264/323: * beardbolt.el (bb-compile): Better handling of hack-local-variables., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ed99686703 267/323: Handle TTYs with unknown background color, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 715f132d0e 263/323: Started rewriting. Too many changes to mention., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 325327bc70 273/323: Use inhibit-modification-hooks when modifying buffer, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 5131185d13 272/323: Add a Makefile, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 9aba82b6cd 271/323: Update starter/test files, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt b6958c3e0a 277/323: * beardbolt.el: preserve-library-functions -> preserve-weak-symbols,
ELPA Syncer <=
- [elpa] externals/beardbolt 2a11095c75 281/323: Rethink and simplify asm-processing algorithm, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 7ff619c375 283/323: Add some benchmarks, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 11a19cfa66 282/323: Simplify line correspondence and overlay management, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt e18e3ee5ae 289/323: Support compile_commands.json, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3b7a5bc85a 288/323: Simplify M-x beardbolt-starter. Less tmp directory cruft., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 2e9abdbcbf 293/323: fixup README tweak, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 93778d8391 298/323: Don't try any window scrolling heroics on recompile, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 12e926f66b 300/323: Correct local variable section of benchmark file, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 782febee77 307/323: Add new option bb-execute and simplify more code, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 13c51a99e0 309/323: Rework window management again. Not more like godbolt, ELPA Syncer, 2023/03/09