x86-64: Remove .file directive from snapshot source
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 28 Dec 2018 14:40:27 +0000 (14:40 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 28 Dec 2018 14:40:27 +0000 (06:40 -0800)
Since snapshot() is implemented in assembly code, .file directive should
be removed.  Otherwise, debugger can't find the snapshot source.

* gcc.target/x86_64/abi/asm-support-darwin.s: Remove .file
directive.
* gcc.target/x86_64/abi/asm-support.S: Likewise.

From-SVN: r267450

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s
gcc/testsuite/gcc.target/x86_64/abi/asm-support.S

index 4213903793641ac24de9ba33758374fe9d7bb752..7f9d1a509c85ff8081ddac856b4d2b12455d6d3e 100644 (file)
@@ -1,3 +1,9 @@
+2018-12-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.target/x86_64/abi/asm-support-darwin.s: Remove .file
+       directive.
+       * gcc.target/x86_64/abi/asm-support.S: Likewise.
+
 2018-12-27  Jan Hubicka  <hubicka@ucw.cz>
 
        * g++.dg/ipa/devirt-53.C: New testcase.
index b3b88466a6296c1d58bf6864d2a53a72a002edd2..8fe5dab54160cf8aa71132e651947e175e47b55d 100644 (file)
@@ -1,4 +1,3 @@
-       .file   "snapshot.S"
        .text
        .p2align 4,,15
 .globl _snapshot
index 8e0bffe8b4938ba8c270c6e0be578d6100d9d8aa..7a8ed03d119cd5eddb2eef283b02a683747c1459 100644 (file)
@@ -1,4 +1,3 @@
-       .file   "snapshot.S"
 #ifdef __AVX__
        .sse_check none
 #endif