Files
llvm-6502/include/llvm/Support/NameMangling.h
Chris Lattner 697954c15d Changes to build successfully with GCC 3.02
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-20 22:54:45 +00:00

28 lines
763 B
C++

//===- 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.
//
std::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.
//
std::string MangleName(const std::string &privateName, const Value *V);
#endif