https://bugs.llvm.org/show_bug.cgi?id=38014
Bug ID: 38014
Summary: [debugify] sroa fail
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: greg.bedw...@sony.com
CC: anastasis.gra...@gmail.com, llvm-bugs@lists.llvm.org,
v...@apple.com
Blocks: 37953
Created attachment 20506
--> https://bugs.llvm.org/attachment.cgi?id=20506&action=edit
ll reproducer
$ clang --version
clang version 7.0.0 (trunk 336047) (llvm/trunk 336095)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: e:\work\upstream-llvm\build-vs2015-native-ninja\bin
$ cat SROA.cpp
void foo() {
int bar;
for (;; bar++)
;
}
$ clang SROA.cpp -S -emit-llvm -O0 -Xclang -disable-O0-optnone -o SROA.ll
$ opt -disable-output -debugify-each -sroa SROA.ll
ERROR: Instruction with empty DebugLoc in function ?foo@@YAXXZ -- %bar.0 = phi
i32 [ undef, %entry ], [ %inc, %for.inc ]
WARNING: Missing line 1
WARNING: Missing line 4
WARNING: Missing line 6
CheckFunctionDebugify [SROA]: FAIL
CheckFunctionDebugify [Module Verifier]: PASS
$
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=37953
[Bug 37953] [meta] [debugify] fix -check-debugify failures
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs