Changes in directory llvm/include/llvm/Support:
Mangler.h updated: 1.21 -> 1.22 --- Log message: Add new option to leave asm names alone --- Diffs of the changes: (+8 -0) Mangler.h | 8 ++++++++ 1 files changed, 8 insertions(+) Index: llvm/include/llvm/Support/Mangler.h diff -u llvm/include/llvm/Support/Mangler.h:1.21 llvm/include/llvm/Support/Mangler.h:1.22 --- llvm/include/llvm/Support/Mangler.h:1.21 Wed Jul 26 11:18:00 2006 +++ llvm/include/llvm/Support/Mangler.h Thu Sep 7 13:20:41 2006 @@ -35,6 +35,10 @@ /// the space character. By default, this is false. bool UseQuotes; + /// PreserveAsmNames - If this is set, the asm escape character is not removed + /// from names with 'asm' specifiers. + bool PreserveAsmNames; + /// Memo - This is used to remember the name that we assign a value. /// std::map<const Value*, std::string> Memo; @@ -66,6 +70,10 @@ /// strings for assembler labels. void setUseQuotes(bool Val) { UseQuotes = Val; } + /// setPreserveAsmNames - If the mangler should not strip off the asm name + /// identifier (\001), this should be set. + void setPreserveAsmNames(bool Val) { PreserveAsmNames = Val; } + /// Acceptable Characters - This allows the target to specify which characters /// are acceptable to the assembler without being mangled. By default we /// allow letters, numbers, '_', '$', and '.', which is what GAS accepts. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits