Skip to content

gllvm should log calls to ar/llvm-ar #76

Description

@HassenSaidi

Log files in gllvm contain calls to clang compilation and linking commands. There are cases where a binary is built by compiling and then linking against an archive library. This library is built during the build process. An example of this is gzip. Here is the linking of gzip:

AUDIT:LINKING clang [-g -O2 -Wl,--as-needed -o gzip bits.o deflate.o gzip.o inflate.o trees.o unlzh.o unlzw.o unpack.o unzip.o util.o zip.o libver.a lib/libgzip.a]

lib/libgzip.a is built during the build of gzip by compiling a number of source files into object files. They are then archived into lib/libgzip.a. the log file does not capture this archive step. I think it should.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions