summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-09-21 00:39:44 +1000
committer Vas Crabb <vas@vastheman.com>2025-09-21 00:39:44 +1000
commit987221b177d7890751f496977f30682c13c44b16 (patch)
tree4cbe4c5894cf157822cd7d92bcb8784924ce5488 /scripts/src/main.lua
parent30a1363797fa2542afb7bb9a7540d752cbf9c7c8 (diff)
scripts/build/llvm-objdump-filter.py: Manage objdump processes from python.
Avoids issues with inconsistent shell behaviour.
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index 239e9d9c239..8cd4609a6f5 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -58,7 +58,7 @@ end
if llvm_obdjump then
postbuildcommands {
"$(SILENT) echo Dumping symbols.",
- "$(SILENT) objdump --syms --demangle $(TARGET) | python scripts/build/llvm-objdump-filter.py `objdump --section-headers $(TARGET) | sed -r -e 's/ *(0|[1-9][0-9]*) +\.text +[0-9a-f]+ +[0-9a-f]+ +[^ ].*/\1/;t;d'` | c++filt >$(subst .exe,.sym,$(TARGET))"
+ "$(SILENT) " .. PYTHON .. " " .. MAME_DIR .. "scripts/build/llvm-objdump-filter.py $(TARGET) | c++filt >$(subst .exe,.sym,$(TARGET))"
}
else
postbuildcommands {