Skip to content
  1. Oct 17, 2013
    • Eric Christopher's avatar
      According to the dwarf standard pubnames and pubtypes for languages · 2c8b7907
      Eric Christopher authored
      like C++ should be the fully qualified names for the type.
      
      Add a routine that does a language specific context walk to build
      up the qualified name and use it when we add types/names to the
      tables. Expand the gnu pubnames testcase as it's the most complex
      to make sure that qualified types are also being added.
      
      llvm-svn: 192865
      2c8b7907
    • Filip Pizlo's avatar
      Expose install_fatal_error_handler() through the C API. · a535b141
      Filip Pizlo authored
      I expose the API with some caveats:
      
      - The C++ API involves a traditional void* opaque pointer for the fatal 
      error callback.  The C API doesn’t do this.  I don’t think that the void* 
      opaque pointer makes any sense since this is a global callback - there will 
      only be one of them.  So if you need to pass some data to your callback, 
      just put it in a global variable.
      
      - The bindings will ignore the gen_crash_diag boolean.  I ignore it because 
      (1) I don’t know what it does, (2) it’s not documented AFAIK, and (3) I 
      couldn’t imagine any use for it.  I made the gut call that it probably 
      wasn’t important enough to expose through the C API.
      
      llvm-svn: 192864
      a535b141
    • Jack Carter's avatar
      [projects/test-suite] White space and long line fixes. · d4e9615d
      Jack Carter authored
      No functionality changes.
      
      llvm-svn: 192863
      d4e9615d
    • Eric Christopher's avatar
      Add the subprogram DIEs to the context they're created with only · 96eff3f3
      Eric Christopher authored
      if they're a declaration, otherwise they're owned by the compile
      unit.
      
      llvm-svn: 192861
      96eff3f3
    • Hans Wennborg's avatar
      Re-commit r192758 - MC: quote tricky symbol names in asm output · 69918bcc
      Hans Wennborg authored
      The reason this got reverted was that the @feat.00 symbol which was emitted
      for every TU became quoted, and on cygwin/mingw we use the gas assembler which
      couldn't handle the quotes.
      
      This commit fixes the problem by only emitting @feat.00 for win32, where we use
      clang -cc1as to assemble. gas would just drop this symbol anyway, so there is no
      loss there.
      
      With @feat.00 gone, there shouldn't be quoted symbols showing up on cygwin since
      it uses the Itanium ABI, which doesn't put these funny characters in symbols.
      
      > Because of win32 mangling, we produce symbol and section names with
      > funny characters in them, most notably @ characters.
      >
      > MC would choke on trying to parse its own assembly output. This patch addresses
      > that by:
      >
      > - Making @ trigger quoting of symbol names
      > - Also quote section names in the same way
      > - Just parse section names like other identifiers (to allow for quotes)
      > - Don't assume @ signifies a symbol variant if it is in a string.
      
      llvm-svn: 192859
      69918bcc
    • David Blaikie's avatar
      DIEHash: Include the type's context in the type hash. · 8a142aaa
      David Blaikie authored
      llvm-svn: 192856
      8a142aaa
    • David Blaikie's avatar
      DIEHash: Use DW_FORM_sdata for integers, per spec. · 6316ca45
      David Blaikie authored
      This allows us to produce the same hash as GCC for at least some simple
      examples.
      
      llvm-svn: 192855
      6316ca45
  2. Oct 16, 2013
Loading