diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-08-08 21:16:50 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-08-08 21:16:50 +0000 |
commit | 49ff4d904148125cad66a8df33b7033390068310 (patch) | |
tree | a766fac650929494f517dfbf9232ac9f044073b9 /llvm/test/CodeGen/Generic | |
parent | 9ff024a54fefa08cb93065e25ecbb974b74bc6e4 (diff) | |
download | bcm5719-llvm-49ff4d904148125cad66a8df33b7033390068310.tar.gz bcm5719-llvm-49ff4d904148125cad66a8df33b7033390068310.zip |
[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
Diffstat (limited to 'llvm/test/CodeGen/Generic')
-rw-r--r-- | llvm/test/CodeGen/Generic/dwarf-md5.ll | 6 | ||||
-rw-r--r-- | llvm/test/CodeGen/Generic/dwarf-source.ll | 6 |
2 files changed, 6 insertions, 6 deletions
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 |