[llvm] 57c54dd - Recommit: DebugInfo: Check DW_OP_convert in loclists with Split DWARF

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 18:37:14 PST 2020


Author: David Blaikie
Date: 2020-02-04T18:37:06-08:00
New Revision: 57c54ddd7f9857d9054a1e163799eb5235c89602

URL: https://github.com/llvm/llvm-project/commit/57c54ddd7f9857d9054a1e163799eb5235c89602
DIFF: https://github.com/llvm/llvm-project/commit/57c54ddd7f9857d9054a1e163799eb5235c89602.diff

LOG: Recommit: DebugInfo: Check DW_OP_convert in loclists with Split DWARF

Originally committed in: 552a8fe12bd1822f48dda2e9e8728a179f82d356
            Reverted in: f75301d16d444d8cb6810d679290df744bc79ec7

Reverted because it was running llc directly (rather than %llc_dwarf)
which uses COFF files on Windows which LLVM doesn't support all DWARF
features in.

This functionality isn't fully working, but sets up the testing for a
follow-on patch that demonstrates and fixes the brokenness related to
DWO ID hashing this construct.

Added: 
    

Modified: 
    llvm/test/DebugInfo/X86/convert-loclist.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/X86/convert-loclist.ll b/llvm/test/DebugInfo/X86/convert-loclist.ll
index ae38fab2930c..955e28812dd9 100644
--- a/llvm/test/DebugInfo/X86/convert-loclist.ll
+++ b/llvm/test/DebugInfo/X86/convert-loclist.ll
@@ -1,4 +1,6 @@
-; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s \
+; RUN: %llc_dwarf -filetype=obj < %s \
+; RUN:   | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
+; RUN: %llc_dwarf -split-dwarf-file=foo.dwo -filetype=obj < %s \
 ; RUN:   | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
 
 ; CHECK: 0x{{0*}}[[TYPE:.*]]: DW_TAG_base_type


        


More information about the llvm-commits mailing list