[PATCH] D46738: [DebugInfo] Fix PR37395.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 09:53:45 PDT 2018


xbolva00 added inline comments.


================
Comment at: test/DebugInfo/Generic/PR37395.ll:1
+; RUN: opt -O1 -S %s | FileCheck %s
+; CHECK: DILabel
----------------
HsiangKai wrote:
> davide wrote:
> > This is too fragile. The test should run a single pass.
> I use the steps provided by Zhendong Su to reproduce the bug in https://bugs.llvm.org/show_bug.cgi?id=37395. I didn't get the idea that 'run a single pass'. Could you give more information or examples to improve the test case?
Seems like it crashed here:
3.      Running pass 'CallGraph Pass Manager' on module 'small.c'.
4.      Running pass 'Loop-Closed SSA Form Pass' on function '@f'

so try to run this pass only.


Repository:
  rL LLVM

https://reviews.llvm.org/D46738





More information about the llvm-commits mailing list