[PATCH] D37428: Debug info: Fixed faulty debug locations for attributed statements

Karl-Johan Karlsson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 5 22:58:11 PDT 2017


Ka-Ka added inline comments.


================
Comment at: test/CodeGen/debug-info-attributed-stmt.c:1
+// RUN: %clang_cc1 -triple x86_64-unk-unk -disable-llvm-passes -debug-info-kind=limited -emit-llvm %s -o - | FileCheck %s
+
----------------
echristo wrote:
> Since we're not optimizing or generating code you should be able to remove the -disable-llvm-passes I believe.
I added the option -disable-llvm-passes as David Blaikie suggested it in his original comment:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20170904/202982.html
As I have mainly worked in llvm backends I'm not that familiar with the clang -cc1 options. I have no opinion about this. I wait for you and David Blaikie to decide if I should remove or keep the option -disable-llvm-passes.



https://reviews.llvm.org/D37428





More information about the cfe-commits mailing list