mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
9c10f79bb7
We were effectively overriding an explicit '.file' directive with info for the assembler source. That shouldn't happen. Fixes PR36636, really, even for .s files emitted by Clang. Differential Revision: https://reviews.llvm.org/D44265 llvm-svn: 328208
12 lines
349 B
ArmAsm
12 lines
349 B
ArmAsm
// RUN: llvm-mc -g -triple i386-unknown-unknown %s | FileCheck %s
|
|
// Test for Bug 11740
|
|
// This testcase has two directive files,
|
|
// when compiled with -g, this testcase will not report error,
|
|
// but keep the debug info existing in the assembly file.
|
|
|
|
.file "hello"
|
|
.file 1 "world"
|
|
|
|
// CHECK: .file "hello"
|
|
// CHECK: .file 1 "world"
|