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 4213903..7f9d1a5 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 b3b8846..8fe5dab 100644 (file)
@@ -1,4 +1,3 @@
-       .file   "snapshot.S"
        .text
        .p2align 4,,15
 .globl _snapshot
index 8e0bffe..7a8ed03 100644 (file)
@@ -1,4 +1,3 @@
-       .file   "snapshot.S"
 #ifdef __AVX__
        .sse_check none
 #endif