[PATCH] D39981: [DebugInfo] Fix potential CU mismatch for SubprogramScopeDIEs.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 09:32:32 PST 2017


JDevlieghere added inline comments.


================
Comment at: test/DebugInfo/cross-cu-scope.ll:3
+; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
+
+; CHECK: DW_TAG_compile_unit
----------------
dblaikie wrote:
> Include the original source code here to make it clear what's being modeled?
> 
> Is this reproducible in C or C++, or only in Rust?
My gut feeling says it might occur with C++ and LTO, but I couldn't come up with the actual code to make it happen. 


https://reviews.llvm.org/D39981





More information about the llvm-commits mailing list