<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - riscv - pass 'Machine Copy Propagation Pass' on function '@lttng_ust_safe_close_fd'"
   href="https://bugs.llvm.org/show_bug.cgi?id=43041">43041</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>riscv - pass 'Machine Copy Propagation Pass' on function '@lttng_ust_safe_close_fd'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>raj.khem@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22392" name="attach_22392" title="test case">attachment 22392</a> <a href="attachment.cgi?id=22392&action=edit" title="test case">[details]</a></span>
test case

backtrace

| 1.    <eof> parser at end of file
| 2.    Code generation
| 3.    Running pass 'Function Pass Manager' on module
'../../lttng-ust-2.10.4/liblttng-ust-comm/lttng-ust-fd-tracker.$
'.
| 4.    Running pass 'Machine Copy Propagation Pass' on function
'@lttng_ust_safe_close_fd'
|  #0 0x000055c5ea77a7f2
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/$
in/clang-9+0x32f77f2)
|  #1 0x000055c5ea777b6e llvm::sys::RunSignalHandlers()
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.$
-r0/recipe-sysroot-native/usr/bin/clang-9+0x32f4b6e)
|  #2 0x000055c5ea77ad64
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/$
in/clang-9+0x32f7d64)
|  #3 0x00007f0e46b1f100
(/mnt/a/yoe/build/tmp/sysroots-uninative/x86_64-linux/lib/libpthread.so.0+0x13100)
|  #4 0x000055c5e9f45ad3
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/$
in/clang-9+0x2ac2ad3)
|  #5 0x000055c5e9f43d60
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/$
in/clang-9+0x2ac0d60)
|  #6 0x000055c5e9d594ae
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/mnt/a/yoe/build/tmp/work/riscv64-$
oe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x28d64ae)
|  #7 0x000055c5ea11d20f llvm::FPPassManager::runOnFunction(llvm::Function&)
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-li$
ux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x2c9a20f)
|  #8 0x000055c5ea11d8d3 llvm::FPPassManager::runOnModule(llvm::Module&)
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/$
ttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x2c9a8d3)
|  #9 0x000055c5ea11e0e9 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linu$
/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x2c9b0e9)
| #10 0x000055c5ead81f94 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang:$
CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::DataLayout const&, llvm::Module*,
clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >) (/mnt/a$
yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x38fef94)
| #11 0x000055c5eb210b0b
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/$
in/clang-9+0x3d8db0b)
| #12 0x000055c5ec1a9e56 clang::ParseAST(clang::Sema&, bool, bool)
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-$
st/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x4d26e56)
| #13 0x000055c5eb20f9a2 clang::CodeGenAction::ExecuteAction()
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/$
_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x3d8c9a2)
| #14 0x000055c5eb151459 clang::FrontendAction::Execute()
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.1$
.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x3cce459)
| #15 0x000055c5eb09a5c0
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/mnt/a/yoe/build/tmp/work/ris$
v64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x3c175c0)
| #16 0x000055c5eb20ae84
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/mnt/a/yoe/build/tmp/work/riscv64$
yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x3d87e84)
| #17 0x000055c5e9032654 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/mnt/a/yoe/build/tmp/work/riscv64-$
oe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native/usr/bin/clang-9+0x1baf654)
| #18 0x000055c5e9030079 main
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-native$
usr/bin/clang-9+0x1bad079)
| #19 0x00007f0e465e8b9b __libc_start_main
(/mnt/a/yoe/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6+0x26b9b$
| #20 0x000055c5e902c02e _start
(/mnt/a/yoe/build/tmp/work/riscv64-yoe-linux/lttng-ust/2_2.10.4-r0/recipe-sysroot-nati$
e/usr/bin/clang-9+0x1ba902e)
| clang-9: error: unable to execute command: Segmentation fault (core dumped)
| clang-9: error: clang frontend command failed due to signal (use -v to see
invocation)
| clang version 9.0.0 (<a href="https://github.com/llvm/llvm-project">https://github.com/llvm/llvm-project</a>
150ad3120e346ed8dff2bdda458a72e734b1879a)
| Target: riscv64-yoe-linux
| Thread model: posix</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>