Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

dnfield
Copy link
Contributor

@dnfield dnfield commented Jul 13, 2019

To make this really work, we'll need to land other changes to .S files to include the __LLVM.__asm sections.

Related to flutter/flutter#15288

@dnfield dnfield requested a review from chinmaygarde July 13, 2019 04:33
@dnfield
Copy link
Contributor Author

dnfield commented Jul 13, 2019

Actually, this seems to just work without adding those symbols... Still verifying.

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Though I don't think patching the host toolchain is necessary.

ar = "$prefix/llvm-ar"
cc = "$prefix/clang"
cxx = "$prefix/clang++"
if (!enable_bitcode) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can avoid this for host builds. x64

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get linking errors if I don't do this because of gen_snapshot

ar = "$prefix/llvm-ar"
cc = "$prefix/clang"
cxx = "$prefix/clang++"
if (!enable_bitcode) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can avoid this for host builds. i386

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants