llvm-6502/test/CodeGen/X86/newline-and-quote.ll
Rafael Espindola 732cf2d598 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194667 91177308-0d34-0410-b5e6-96231b3b80d8
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"