1. Jan 31, 2009
    • Chris Lattner's avatar
      avoid emitting a bogus line marker for the top level #include · d8cc884a
      Chris Lattner authored
      location.  We now -E a file containing "foo" into:
      
      # 1 "t.c"
      # 1 "t.c" 1
      # 1 "<predefines>" 1
      # 1 "t.c" 2
      foo
      
      instead of:
      
      # 1 "t.c"
      # 1 "t.c" 1
      # 0 "t.c"
      # 1 "<predefines>" 1
      # 1 "t.c" 2
      foo
      
      llvm-svn: 63405
      d8cc884a
    • Daniel Dunbar's avatar
      x86_64 ABI: Split small vectors which cross an eightbyte boundary. Down to... · 890c6b55
      Daniel Dunbar authored
      x86_64 ABI: Split small vectors which cross an eightbyte boundary. Down to 33/500 return type failures.
      
      llvm-svn: 63404
      890c6b55
    • Gabor Greif's avatar
      use precise getters · 1933b00c
      Gabor Greif authored
      llvm-svn: 63403
      1933b00c
    • Gabor Greif's avatar
      use precise getters · 97f17206
      Gabor Greif authored
      llvm-svn: 63402
      97f17206
    • Devang Patel's avatar
      · c094970c
      Devang Patel authored
       Each input file is encoded as a separate compile unit in LLVM debugging
      information output. However, many target specific tool chains prefer to encode
      only one compile unit in an object file. In this situation, the LLVM code
      generator will include  debugging information entities in the compile unit 
      that is marked as main compile unit. The code generator accepts maximum one main
      compile unit per module. If a module does not contain any main compile unit 
      then the code generator will emit multiple compile units in the output object 
      file.
      
      [Part 1]
      
      Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit  to mark the unit as "main" unit. By defaults all units are considered  non-main.  Update SourceLevelDebugging.html to document "main" compile unit.
      
      Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here.
      
      Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit.
      
      [Part 2]
      
      Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs.
      
      ---
      
      This is Part 1.
      
      llvm-svn: 63400
      c094970c
    • Douglas Gregor's avatar
      d5576dee
    • Chris Lattner's avatar
      " Attached is a patch for TextDiagnosticPrinter that adds an optional · 1958677c
      Chris Lattner authored
      parameter that allows users to omit the printing of the source
      location on a diagnostic. So basically it would omit the "abc.c:5:1: "
      at the beginning of the line."
      
      Patch by Alexei Svitkine!
      
      llvm-svn: 63396
      1958677c
    • Douglas Gregor's avatar
      Switch Type::isAggregateType to use the C++ definition of "aggregate · ddb2485e
      Douglas Gregor authored
      type" rather than the C definition. We do this because both C99 and
      Clang always use "aggregate type" as "aggregate or union type", and
      the C++ definition includes union types.
      
      llvm-svn: 63395
      ddb2485e
    • Anders Carlsson's avatar
      221483dd
  2. Jan 30, 2009