aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Mangle.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-21 08:24:40 +0000
committerChris Lattner <sabre@nondot.org>2009-03-21 08:24:40 +0000
commitca3f25c1fb9bbf0d807985baee460670b7f195b4 (patch)
tree4eefdaba5322484a2fc0bd15c486ed7f0d5301b4 /lib/CodeGen/Mangle.h
parent2d58406872e5af0c924623d9f7c194c4f09936d3 (diff)
fix several problems with asm renaming, by pulling it into the mangling code:
1. it wasn't applying to definitions, only declarations, e.g. int x __asm("foo") 2. multiple definitions were conflicting, they weren't getting merged. 3. the code was duplicated in several places. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.h')
-rw-r--r--lib/CodeGen/Mangle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/Mangle.h b/lib/CodeGen/Mangle.h
index 60a5113ccc..627c16a08e 100644
--- a/lib/CodeGen/Mangle.h
+++ b/lib/CodeGen/Mangle.h
@@ -14,6 +14,7 @@
// http://www.codesourcery.com/public/cxx-abi/abi.html
//
//===----------------------------------------------------------------------===//
+
#ifndef LLVM_CLANG_CODEGEN_MANGLE_H
#define LLVM_CLANG_CODEGEN_MANGLE_H