Skip to content
  1. Jan 17, 2010
  2. Jan 16, 2010
  3. Jan 13, 2010
  4. Sep 21, 2009
  5. Sep 18, 2009
  6. Sep 13, 2009
  7. Sep 11, 2009
  8. Aug 18, 2009
  9. Jul 22, 2009
  10. Jul 20, 2009
  11. Jul 15, 2009
  12. Jul 14, 2009
    • Chris Lattner's avatar
      Reapply my previous asmprinter changes now with more testing and two · 8c9a96b9
      Chris Lattner authored
      additional bug fixes:
      
      1. The bug that everyone hit was a problem in the asmprinter where it
         would remove $stub but keep the L prefix on a name when emitting the
         indirect symbol.  This is easy to fix by keeping the name of the stub
         and the name of the symbol in a StringMap instead of just keeping a
         StringSet and trying to reconstruct it late.
      
      2. There was a problem printing the personality function.  The current
         logic to print out the personality function from the DWARF information
         is a bit of a cesspool right now that duplicates a bunch of other 
         logic in the asm printer.  The short version of it is that it depends
         on emitting both the L and _ prefix for symbols (at least on darwin)
         and until I can untangle it, it is best to switch the mangler back to
         emitting both prefixes.
      
      llvm-svn: 75646
      8c9a96b9
    • Daniel Dunbar's avatar
      Revert r75610 (and r75620, which was blocking the revert), in the hopes of · 966932cc
      Daniel Dunbar authored
      unbreaking llvm-gcc (on Darwin).
      
      --- Reverse-merging r75620 into '.':
      U    include/llvm/Support/Mangler.h
      --- Reverse-merging r75610 into '.':
      U    test/CodeGen/X86/loop-hoist.ll
      G    include/llvm/Support/Mangler.h
      U    lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
      U    lib/VMCore/Mangler.cpp
      
      llvm-svn: 75636
      966932cc
    • Chris Lattner's avatar
      Change the X86 asmprinter to use the mangler to apply suffixes like "$non_lazy_ptr" · 774f2a2d
      Chris Lattner authored
      to symbols instead of doing it with "printSuffixedName".  This gets us to the point
      where there is a real separation between computing a symbol name and printing it,
      something I need for MC printer stuff.
      
      This patch also fixes a corner case bug where unnamed private globals wouldn't get
      the private label prefix.
      
      Next up, rename all uses of getValueName -> getMangledName for better greppability,
      and then tackle the ppc/arm backends to eliminate "printSuffixedName".
      
      llvm-svn: 75610
      774f2a2d
    • Chris Lattner's avatar
      Change the internal interface to makeNameProper to take a bool that · f34815b3
      Chris Lattner authored
      indicates whether the label is private or not, instead of taking
      prefix stuff.  One effect of this is that symbols will be generated
      with *just* the private prefix, instead of both the private prefix
      *and* the user-label-prefix, but this doesn't matter as long as it
      is consistent.  For example we'll now get "Lfoo" instead of "L_foo".
      These are just assembler temporary labels anyway, so they never even
      make it into the .o file.
      
      llvm-svn: 75607
      f34815b3
    • Chris Lattner's avatar
      the mangler can never mangle intrinsics, don't allow this. · 05f1976a
      Chris Lattner authored
      llvm-svn: 75564
      05f1976a
    • Chris Lattner's avatar
      rename Memo/Count to AnonGlobalIDs/NextAnonGlobalID to be more · 105efaf3
      Chris Lattner authored
      descriptive.  Thange them to keep track of the ID of a global that is
      assigned, not the first mangled name returned for it.  Without doing this,
      we are required to always use the same suffix for a global that gets 
      mangled.  This means that we can mangle the same global once with $stub
      and another time with $non_lazy_ptr or whatever.
      
      llvm-svn: 75561
      105efaf3
    • Chris Lattner's avatar
      remove Mangler::getTypeID and related data, it was only used for mangling · 32738715
      Chris Lattner authored
      local symbols and we haven't had type planes since llvm 1.9.
      
      llvm-svn: 75558
      32738715
    • Chris Lattner's avatar
      remove mangler support for mangling local names. Mangler should only be · 15c6d877
      Chris Lattner authored
      used with globals.
      
      llvm-svn: 75557
      15c6d877
    • Chris Lattner's avatar
      the mangler should put suffixes on unnamed global's mangled names as well · cf485bd7
      Chris Lattner authored
      if present.
      
      llvm-svn: 75547
      cf485bd7
    • Chris Lattner's avatar
      Two changes: · ec8efcb4
      Chris Lattner authored
      1) unique globals with the existing "Count" local in Mangler, not with
      atomic nonsense.  Using atomics will give us nondeterminstic output
      from the compiler when using multiple threads, which is bad.
      
      2) Do not mangle an unknown global name with a type suffix.  We don't
         need this anymore now that llvm ir doesn't have type planes.
      
      llvm-svn: 75541
      ec8efcb4
  13. Jun 23, 2009
  14. Jun 18, 2009
  15. May 06, 2009
  16. Jan 15, 2009
  17. Jan 12, 2009
Loading