Takuto Ikuta
2018-11-12 04:35:07 UTC
Hi chromium developers (especially on windows).
I just landed a CL
<https://chromium-review.googlesource.com/c/1317069> enabling
a new clang flag "/Zc:dllexportInlines-" (draft document
<https://reviews.llvm.org/D54319>) collaborating with chrome c++ toolchain
team (hans <***@chromium.org>, thakis <***@chromium.org> and rnk
<***@chromium.org>).
This flag makes windows component build 1.3~1.4x faster with goma
<https://docs.google.com/document/d/1_W-RsPe5LMz8LOm2Cz1hQ9OlmpTNARbBzARaM81RBYM/edit?usp=sharing>
and
1.1~1.3x faster without goma <https://reviews.llvm.org/D51340>.
I hope this give windows developer better experience of faster edit and
test cycles on windows.
But you may see linker error like
[97/1686] LINK net_unittests.exe
<https://chromium-review.googlesource.com/c/chromium/src/+/1322333> (this
is recommended, but not always work) or function
<https://chromium-review.googlesource.com/c/chromium/src/+/1322331/2/third_party/blink/renderer/core/paint/ng/ng_paint_fragment.h>
where the undefined symbol is defined.
Also if you see other strange behavior, please let me know.
Thanks, Takuto
I just landed a CL
<https://chromium-review.googlesource.com/c/1317069> enabling
a new clang flag "/Zc:dllexportInlines-" (draft document
<https://reviews.llvm.org/D54319>) collaborating with chrome c++ toolchain
team (hans <***@chromium.org>, thakis <***@chromium.org> and rnk
<***@chromium.org>).
This flag makes windows component build 1.3~1.4x faster with goma
<https://docs.google.com/document/d/1_W-RsPe5LMz8LOm2Cz1hQ9OlmpTNARbBzARaM81RBYM/edit?usp=sharing>
and
1.1~1.3x faster without goma <https://reviews.llvm.org/D51340>.
I hope this give windows developer better experience of faster edit and
test cycles on windows.
But you may see linker error like
[97/1686] LINK net_unittests.exe
FAILED: net_unittests.exe
ninja -t msvc -e environment.x86 --
../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo
/OUT:./net_unittests.exe /PDB:./net_unittests.exe.pdb
@./net_unittests.exe.rsp
lld-link: error: undefined symbol: "bool __thiscall
net::internal::ClientSocketPoolBaseHelper::Group::RequestWithHandleHasJobForTesting(class
net::ClientSocketHandle const *) const"
@***@internal@net@@***@4@@Z)
__thiscall
net::internal::ClientSocketPoolBaseHelper::RequestInGroupWithHandleHasJobForTesting(class
std::basic_string<char, struct std::char_traits<char>, class
std::allocator<char>> const &, class net::ClientSocketHandle const *)
@***@net@@QBE_NABV?$***@DU?$***@D@std@
@V?$***@D@2@@std@@***@3@@Z))
If you see this kind of error, please add export attribute to the classninja -t msvc -e environment.x86 --
../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo
/OUT:./net_unittests.exe /PDB:./net_unittests.exe.pdb
@./net_unittests.exe.rsp
lld-link: error: undefined symbol: "bool __thiscall
net::internal::ClientSocketPoolBaseHelper::Group::RequestWithHandleHasJobForTesting(class
net::ClientSocketHandle const *) const"
@***@internal@net@@***@4@@Z)
referenced by
obj/net/net_unittests/client_socket_pool_base_unittest.obj:("bool__thiscall
net::internal::ClientSocketPoolBaseHelper::RequestInGroupWithHandleHasJobForTesting(class
std::basic_string<char, struct std::char_traits<char>, class
std::allocator<char>> const &, class net::ClientSocketHandle const *)
@***@net@@QBE_NABV?$***@DU?$***@D@std@
@V?$***@D@2@@std@@***@3@@Z))
<https://chromium-review.googlesource.com/c/chromium/src/+/1322333> (this
is recommended, but not always work) or function
<https://chromium-review.googlesource.com/c/chromium/src/+/1322331/2/third_party/blink/renderer/core/paint/ng/ng_paint_fragment.h>
where the undefined symbol is defined.
Also if you see other strange behavior, please let me know.
Thanks, Takuto
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CALNjmMrAV0LmVe%2BrTAb%2BA4cyrFTzmcHZ7AEkM4M%2B3JLC6f7ncA%40mail.gmail.com.
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CALNjmMrAV0LmVe%2BrTAb%2BA4cyrFTzmcHZ7AEkM4M%2B3JLC6f7ncA%40mail.gmail.com.