[llvm] [llvm-objdump] Add --substitute-path and --source-dir for --source (PR #201096)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 01:11:33 PDT 2026
================
@@ -111,6 +127,16 @@
; SOURCE-EMPTY-TO: pushq
; SOURCE-EMPTY-TO-NOT: ; int foo
+; SOURCE-DIR-ORDER12: <foo>:
+; SOURCE-DIR-ORDER12-NEXT: ; int foo() { //SDR-FIRST
+; SOURCE-DIR-ORDER12-NEXT: pushq
+; SOURCE-DIR-ORDER12-NOT: SDR-SECOND
----------------
jh7370 wrote:
This will only show that `SDR-SECOND` does not appear after the found `pushq`. Is that the intent, or did you instead want to show it doesn't appear in the full output? If the latter, you may be better off using `--implicit-check-not` in the FileCheck command-line.
https://github.com/llvm/llvm-project/pull/201096
More information about the llvm-commits
mailing list