http://llvm.org/bugs/show_bug.cgi?id=7439

           Summary: avoid unecessary execing in a case of clang -cc1 and
                    clang -cc1as
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


the attached patch introduces new class "FunctionC" and embeds it into class
Job and converts cc1_main.cpp and cc1as_main.cpp to be instances of this. it
uses this class to avoid unecessary exec() in a case of calling "clang -cc1"
and "clang -cc1as"

this brings a little performance speedup and also avoids a possible problem we
encounter in FreeBSD where /foo/bar/lala/clang called /usr/bin/clang -cc1

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to