Skip to content

build: use clang-9 - #8613

Merged
lizan merged 4 commits into
envoyproxy:masterfrom
lizan:clang9
Oct 16, 2019
Merged

lizan merged 4 commits into
envoyproxy:masterfrom
lizan:clang9

Conversation

@lizan

@lizan lizan commented Oct 14, 2019 •

Copy link
Copy Markdown
Member

Signed-off-by: Lizan Zhou [email protected]

Description:
Risk Level: Med
Testing: CI
Docs Changes: N/A
Release Notes: N/A

keith
keith previously approved these changes Oct 15, 2019
Comment thread tools/check_format.py Resolved
Comment thread ci/run_clang_tidy.sh Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

clang-tidy-diff-9.py?

(and also line 57)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

nice catch, thanks

Comment thread bazel/README.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

update to October 2019?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah I delete the date there.

Comment thread bazel/README.md Resolved
lizan added 3 commits October 16, 2019 00:56
Signed-off-by: Lizan Zhou <[email protected]>
Signed-off-by: Lizan Zhou <[email protected]>
Signed-off-by: Lizan Zhou <[email protected]>

@htuch htuch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved modulo wrapping up the comment thread (which can be done async) and having a green CI pass for TSAN. Thanks, this is a nice move forward for developer tooling.

Comment thread .bazelrc
build:asan --copt -fsanitize=address,undefined
build:asan --linkopt -fsanitize=address,undefined
# TODO(lizan): vptr and function requires C++ UBSAN runtime which we're not currently linking to.
# Enable them when bazel has better support for that.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems a pretty major loss of ASAN coverage; is there a reason this only shows up in clang-9? Can you also file a tracking issue?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Because function ubsan added dependency to RTTI (which requires C++ runtime) https://reviews.llvm.org/D61479.

@lizan
lizan merged commit 373de8b into envoyproxy:master Oct 16, 2019
@lizan
lizan deleted the clang9 branch October 16, 2019 10:35
nandu-vinodan pushed a commit to nandu-vinodan/envoy that referenced this pull request Oct 17, 2019
Risk Level: Med
Testing: CI
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Lizan Zhou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants