diff options
| author | 2025-09-21 00:39:44 +1000 | |
|---|---|---|
| committer | 2025-09-21 00:39:44 +1000 | |
| commit | 987221b177d7890751f496977f30682c13c44b16 (patch) | |
| tree | 4cbe4c5894cf157822cd7d92bcb8784924ce5488 /scripts/src/main.lua | |
| parent | 30a1363797fa2542afb7bb9a7540d752cbf9c7c8 (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.lua | 2 |
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 { |
