Skip to content
  1. Mar 25, 2014
  2. Mar 24, 2014
    • David Blaikie's avatar
      DebugInfo: Simplify debug loc list handling by keeping separate lists · 84d8e18f
      David Blaikie authored
      Rather than using a flat list with "empty" entries (ala the actual
      on-disk format), keep separate lists for each variable.
      
      llvm-svn: 204680
      84d8e18f
    • David Blaikie's avatar
      DwarfDebug: Simplify debug_loc merging · 34ec5d07
      David Blaikie authored
      No functional change intended.
      
      Merging up-front rather than delaying this task until later. This just
      seems simpler and more efficient (avoiding growing the debug loc list
      only to have to skip over those post-merged entries, etc).
      
      llvm-svn: 204679
      34ec5d07
    • Marshall Clow's avatar
      Add a test to make sure we're doing the right thing for throwing exceptions... · 4fdb0708
      Marshall Clow authored
      Add a test to make sure we're doing the right thing for throwing exceptions from deferred functions. This is LWG issue #2186. No change to the library needed.
      
      llvm-svn: 204678
      4fdb0708
    • Eli Bendersky's avatar
      Proper handling of static local variables with address space qualifiers. · cb39943f
      Eli Bendersky authored
      Similar to the implementation for globals in r157167.
      
      Patch by Jingyue Wu.
      
      llvm-svn: 204677
      cb39943f
    • Duncan P. N. Exon Smith's avatar
      InstrProf: Change the extension of the default profile · 21b98a6c
      Duncan P. N. Exon Smith authored
      Change the name of the default profile dumped by compiler-rt to
      default.profraw.  This distinguishes it more clearly from the
      (incompatible) format output by llvm-profdata that is read by clang
      -fprofile-instr-use.
      
      llvm-svn: 204676
      21b98a6c
    • David Majnemer's avatar
      MS ABI: Eliminate Duplicate Strings · 58e5bee1
      David Majnemer authored
      COFF doesn't have mergeable sections so LLVM/clang's normal tactics for
      string deduplication will not have any effect.
      
      To remedy this we place each string inside it's own section and mark
      the section as IMAGE_COMDAT_SELECT_ANY.  However, we can only do this if the
      string has an external name that we can generate from it's contents.
      
      To be compatible with MSVC, we must use their scheme.  Otherwise identical
      strings in translation units from clang may not be deduplicated with
      translation units in MSVC.
      
      This fixes PR18248.
      
      N.B. We will not attempt to do anything with a string literal which is not of
      type 'char' or 'wchar_t' because their compiler does not support unicode
      string literals as of this date.  Further, we avoid doing this if
      either -fwritable-strings or -fsanitize=address are present.
      
      This reverts commit r204596.
      
      llvm-svn: 204675
      58e5bee1
    • Warren Hunt's avatar
      [MS-ABI] Drop Special Layout in 64-bit mode. · c89450e0
      Warren Hunt authored
      As of cl.exe version 18, the special layout rules for structs with 
      alignment 16 or greater has been dropped.  This patch drops the behavior 
      from clang.  This patch also updates the lit tests to reflect the 
      change.
      
      llvm-svn: 204674
      c89450e0
Loading