From 49ff4d904148125cad66a8df33b7033390068310 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 8 Aug 2018 21:16:50 +0000 Subject: [DWARF] Unclamp line table version on Darwin for v5 and later. On Darwin we pin the DWARF line tables to version 2. Stop doing so for DWARF v5 and later. Differential revision: https://reviews.llvm.org/D49381 llvm-svn: 339288 --- llvm/test/CodeGen/Generic/dwarf-md5.ll | 6 +++--- llvm/test/CodeGen/Generic/dwarf-source.ll | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'llvm/test/CodeGen/Generic') diff --git a/llvm/test/CodeGen/Generic/dwarf-md5.ll b/llvm/test/CodeGen/Generic/dwarf-md5.ll index fc708f78d67..c55d7d7725a 100644 --- a/llvm/test/CodeGen/Generic/dwarf-md5.ll +++ b/llvm/test/CodeGen/Generic/dwarf-md5.ll @@ -1,8 +1,8 @@ ; MD5 checksums provided by IR should be passed through to asm. ; They'll be emitted to an object file only for DWARF 5 or later. - -; Darwin clamps the line table at DWARF v2 so XFAIL this test. -; XFAIL: darwin +; +; Note that on Darwin for DWARF 4 or earlier, the line table version is clamped +; to version 2. However that doesn't affect the output checked in this test. ; REQUIRES: object-emission ; RUN: %llc_dwarf -dwarf-version 4 -filetype=asm -o - %s | FileCheck %s --check-prefix=ASM-4 diff --git a/llvm/test/CodeGen/Generic/dwarf-source.ll b/llvm/test/CodeGen/Generic/dwarf-source.ll index 0636f926150..7b7d9c59b76 100644 --- a/llvm/test/CodeGen/Generic/dwarf-source.ll +++ b/llvm/test/CodeGen/Generic/dwarf-source.ll @@ -1,8 +1,8 @@ ; Source text provided by IR should be passed through to asm. ; It is emitted to an object file only for DWARF 5 or later. - -; Darwin clamps the line table at DWARF v2 so XFAIL this test. -; XFAIL: darwin +; +; Note that on Darwin for DWARF 4 or earlier, the line table version is clamped +; to version 2. However that doesn't affect the output checked in this test. ; REQUIRES: object-emission ; RUN: %llc_dwarf -dwarf-version 4 -filetype=asm -o - %s | FileCheck %s --check-prefix=ASM-4 -- cgit v1.2.3