[Chapel Merge] Fix llvmDebug test for python3

Branch: refs/heads/master
Revision: 1a4bf2f
Author: mppf
Log Message:

Merge pull request #16613 from mppf/fix-llvmDebug-python3

Fix llvmDebug test for python3

Follow-up to PR #16560

Fix several problems with python script in test/llvm/llvmDebug.
While there, got the test working with CHPL_LLVM=system.

Test change only - not reviewed.

  • [x] test/llvm/llvmDebug passes with CHPL_LLVM=system
  • [x] test/llvm/llvmDebug passes with CHPL_LLVM=llvm

Modified Files:
M test/llvm/llvmDebug/llvmDebug_test.py
M test/llvm/llvmDebug/sub_test

Compare: https://github.com/chapel-lang/chapel/compare/bb31f784c8c8...1a4bf2fe5971