[llvm] [llvm-objdump] Add --substitute-path and --source-dir for --source (PR #201096)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 02:09:44 PDT 2026


================
@@ -26,8 +26,8 @@
 ; RUN: llvm-objdump --no-print-imm-hex -d --source --substitute-path /wron %/p %t.o 2>&1 | \
 ; RUN:   FileCheck %s --check-prefix=SOURCE-MISSING -DFILE=%t.o
 
-; First --source-dir misses (no source-path.c under %/p alone); second finds
-; Inputs/source-path.c via basename lookup.
+; First --source-dir misses (no source file under %/p alone); second finds
----------------
jh7370 wrote:

Comments should have a double comment marker (i.e. `;;` in this file).

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


More information about the llvm-commits mailing list