[llvm-bugs] [Bug 41956] New: libclang_rt.fuzzer_no_main-x86_64.a in monorepo and non-monorepo builds is very different
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 21 04:26:00 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41956
Bug ID: 41956
Summary: libclang_rt.fuzzer_no_main-x86_64.a in monorepo and
non-monorepo builds is very different
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: hans at chromium.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
The size and contents of libclang_rt.fuzzer_no_main-x86_64.a differs a lot
between the monorepo and pre-monorepo builds (see below). Any idea why? Which
version is the right one?
$ svn export https://llvm.org/svn/llvm-project/llvm/trunk llvm
$ cd llvm
$ svn export https://llvm.org/svn/llvm-project/cfe/trunk tools/clang
$ svn export https://llvm.org/svn/llvm-project/compiler-rt/trunk
projects/compiler-rt
$ mkdir build && cd build
$ cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
$ ninja lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
$ ls -l lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
-rw-r--r-- 1 hwennborg primarygroup 18151582 May 21 13:15
lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
$ ar -t lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
FuzzerCrossOver.cpp.o
FuzzerDataFlowTrace.cpp.o
FuzzerDriver.cpp.o
FuzzerExtFunctionsDlsym.cpp.o
FuzzerExtFunctionsWeak.cpp.o
FuzzerExtFunctionsWindows.cpp.o
FuzzerExtraCounters.cpp.o
FuzzerFork.cpp.o
FuzzerIO.cpp.o
FuzzerIOPosix.cpp.o
FuzzerIOWindows.cpp.o
FuzzerLoop.cpp.o
FuzzerMerge.cpp.o
FuzzerMutate.cpp.o
FuzzerSHA1.cpp.o
FuzzerTracePC.cpp.o
FuzzerUtil.cpp.o
FuzzerUtilDarwin.cpp.o
FuzzerUtilFuchsia.cpp.o
FuzzerUtilLinux.cpp.o
FuzzerUtilPosix.cpp.o
FuzzerUtilWindows.cpp.o
$ git clone --depth 1 https://github.com/llvm/llvm-project
$ cd llvm-project
$ mkdir build && cd build
$ cmake -GNinja -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_PROJECTS="clang;compiler-rt" ../llvm
$ ninja lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
$ ls -l lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
-rw-r--r-- 1 hwennborg primarygroup 21612992 May 21 13:19
lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
$ ar -t lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
fuzzer_no_main.o
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190521/5868a93e/attachment.html>
More information about the llvm-bugs
mailing list