[Openmp-commits] [openmp] [OpenMP] Fix libarcher tests on Ubuntu 22.04 (PR #170671)

via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 15 05:06:42 PST 2025


================
@@ -65,6 +71,11 @@ for feature in config.test_compiler_features:
 append_dynamic_library_path(config.omp_library_dir)
 append_dynamic_library_path(config.libarcher_obj_root+"/..")
 
+# Add LLVM bin dir to PATH.
+# llvm-symbolizer is needed to correctly resolve addresses, without relying on
+# system's addr2line.
+append_path(os.path.dirname(config.test_c_compiler))
----------------
jprotze wrote:

Putting the path to the end of PATH should be harmless and will still make llvm-symbolizer available if not found somewhere else in the PATH.

https://github.com/llvm/llvm-project/pull/170671


More information about the Openmp-commits mailing list