Skip to content
  1. Aug 16, 2008
    • Daniel Dunbar's avatar
      Add NeXT runtime support for generating methods. · a94ecd2a
      Daniel Dunbar authored
      Change CodeGenFunction::EmitParmDecl to take either a ParmVarDecl or an
        ImplicitParamDecl.
      
      Drop hasAggregateLLVMType from CodeGenModule.cpp (use version in
        CodeGenFunction).
      
      Change the Objective-C method generation to use EmitParmDecl for
        implicit parameters.
      
      llvm-svn: 54838
      a94ecd2a
    • Daniel Dunbar's avatar
      Add CodeGen support for AddrLabelExpr in initializers. · 8bc821ae
      Daniel Dunbar authored
      llvm-svn: 54837
      8bc821ae
    • Daniel Dunbar's avatar
      Change WarnUnsupported to ErrorUnsupported (in name and in practice). · a7c8cf62
      Daniel Dunbar authored
       - We are beyond the point where this shows up often and when it does
         generating miscompiled files is bad.
      
      llvm-svn: 54836
      a7c8cf62
    • Ted Kremenek's avatar
      GRState: · ceba6ead
      Ted Kremenek authored
      - Remove ConstNotEq from GRState/GRStateManager (!= tracking uses GDM instead).
      - GRStateManager now can book-keep "contexts" (e.g., factory objects) for uses
        with data elements stored into the GDM.
      - Refactor pretty-printing of states to use GRState::Printer objects
        exclusively. This removed a huge amount of pretty-printing logic from
        GRExprEngine.
      
      CFRefCount
      - Simplified some API calls based on refinements to the GDM api.
      
      llvm-svn: 54835
      ceba6ead
    • Daniel Dunbar's avatar
      Change ObjCRuntime::LookupClass -> GetClass, and now takes the · 7c6d3a7c
      Daniel Dunbar authored
        ObjCInterfaceDecl.
      
      Change ObjCRuntime::GenerateMessageSendSuper to take the
        ObjCInterfaceDecl for the super class, instead of just its name.
      
      Change EmitObjCMessageExpr to make the right runtime calls for super
        sends in class methods (i.e. a super send with the class object as
        the receiver).
      
      llvm-svn: 54833
      7c6d3a7c
    • Daniel Dunbar's avatar
      Clean up CodeGenModule interface. · fce4be84
      Daniel Dunbar authored
       - Add CodeGenModule::EmitTopLevelDecl which uses switch on kind
         instead of ugly & slow dyn_cast chains.
      
       - Drop some simple forwarding methods into the ObjC runtime.
      
       - Privatize appropriate methods.
      
      llvm-svn: 54827
      fce4be84
    • Daniel Dunbar's avatar
      Change CGObjCRuntime methods to take appropriate clang Decls. · 92992509
      Daniel Dunbar authored
       - This is in prep for implementation class support for the NeXT
         runtime, for which the existing methods don't provide enough
         information (and additionally make too many assumptions about how
         things should be emitted).
      
      llvm-svn: 54824
      92992509
  2. Aug 15, 2008
  3. Aug 14, 2008
  4. Aug 13, 2008
  5. Aug 12, 2008
  6. Aug 11, 2008
    • Daniel Dunbar's avatar
      Add LangOptions::NeXTRuntime. · 3ad53483
      Daniel Dunbar authored
       - Wired to -fnext-runtime and -fgnu-runtime options.
       - Defaults to GNU, no autoselection for NeXT.
      
      Emit NeXT OBJC_IMAGE_INFO marker.
      
      llvm-svn: 54651
      3ad53483
    • Daniel Dunbar's avatar
      Change CodeGenModule to only create ObjC runtime for ObjC files · 8d480594
      Daniel Dunbar authored
       - Changed CodeGenModule::getObjCRuntime to return reference.
       - Added CodeGenModule::hasObjCRuntime predicate.
      
      llvm-svn: 54645
      8d480594
    • Daniel Dunbar's avatar
      Add -fexceptions to Driver · fb3043d6
      Daniel Dunbar authored
       - Maps to LangOptions.Exceptions
       - Currently always off, should autoselect based on language.
      
      Update CodeGen to set unwind attribute on functions definitions based
             on LangOptions.Exceptions.
       - Still need to set attributes appropriately on calls.
      
      llvm-svn: 54643
      fb3043d6
Loading