mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Initial checkin of name mangling code. Moved from Linker.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c426c63b39
commit
1d050112f7
27
include/llvm/Support/NameMangling.h
Normal file
27
include/llvm/Support/NameMangling.h
Normal file
@ -0,0 +1,27 @@
|
||||
//===- llvm/Support/NameMangling.h - Name Mangling for LLVM ------*- C++ -*--=//
|
||||
//
|
||||
// This file implements a consistent scheme for name mangling symbols.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_SUPPORT_NAMEMANGLING_H
|
||||
#define LLVM_SUPPORT_NAMEMANGLING_H
|
||||
|
||||
#include <string>
|
||||
class Type;
|
||||
class Value;
|
||||
|
||||
// MangleTypeName - Implement a consistent name-mangling scheme for
|
||||
// a given type.
|
||||
//
|
||||
string MangleTypeName(const Type *type);
|
||||
|
||||
// MangleName - implement a consistent name-mangling scheme for all
|
||||
// externally visible (i.e., global) objects.
|
||||
//
|
||||
// privateName should be unique within the module.
|
||||
//
|
||||
string MangleName(const string &privateName, const Value *V);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user