[llvm-bugs] [Bug 42979] New: clang/test/Driver/modules.cpp fails when build directory contains '.s' in its name

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 12 13:15:55 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42979

            Bug ID: 42979
           Summary: clang/test/Driver/modules.cpp fails when build
                    directory contains '.s' in its name
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tstellar at redhat.com
                CC: douglas_yung at playstation.sony.com,
                    llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk
            Blocks: 42474

For example, this check line:

// CHECK-COMPILE-SAME: -o {{.*}}.{{pcm.o|s}}

Will match:

-o
/builddir/build/BUILD/cfe-9.0.0rc1.src/_build/test/Driver/Output/modules.cpp.tmp/module.pcm.o
-x pcm /builddir/build/BUILD/cfe-9.0.0rc1.s

Which include the text that is supposed to match from the next check line:

// CHECK-COMPILE-SAME: -x pcm

So '-x pcm' never gets matched and the test fails.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=42474
[Bug 42474] [meta] 9.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190812/2314997c/attachment.html>


More information about the llvm-bugs mailing list