Skip to content

Fix for top-of-tree LLVM#6386

Merged
steven-johnson merged 3 commits intomasterfrom
srj/llvm-fix-again
Nov 3, 2021
Merged

Fix for top-of-tree LLVM#6386
steven-johnson merged 3 commits intomasterfrom
srj/llvm-fix-again

Conversation

@steven-johnson
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/CodeGen_LLVM.cpp
mpm.addPass(createModuleToFunctionPassAdaptor(AddressSanitizerPass(
AddressSanitizerOptions{compile_kernel, recover, use_after_scope, use_after_return})));
AddressSanitizerOptions asan_options; // default values are good...
asan_options.UseAfterScope = true; // ... except this one
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.

I assume you're just basing it off the existing code, but do we know why UseAfterScope is true? Would be good to elaborate in the comment if so.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I do not know.

@steven-johnson steven-johnson merged commit 657bb03 into master Nov 3, 2021
@steven-johnson steven-johnson deleted the srj/llvm-fix-again branch November 3, 2021 23:29
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.

2 participants