llvm-mirror/test/CodeGen/X86/newline-and-quote.ll
Rafael Espindola 987126fe14 Don't mangle \n and "
There is nothing special about quotes and newlines from the object
file point of view, only the assembler has to worry about expanding
the \n and \".

This patch then removes the special handling from the Mangler.

llvm-svn: 194667
2013-11-14 06:05:49 +00:00

7 lines
173 B
LLVM

; RUN: llc < %s -mtriple=x86_64-pc-linux-gnu | FileCheck %s
@"foo\22bar" = global i32 42
; CHECK: .globl "foo\"bar"
@"foo\0abar" = global i32 42
; CHECK: .globl "foo\nbar"