search for: sanitizercoveragemodul

Displaying 7 results from an estimated 7 matches for "sanitizercoveragemodul".

2017 Aug 24
4
Building LLVM's fuzzers
...n/SanitizerCoverage.cpp >> b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >> index c6f0d17f8fe..e81957ab80a 100644 >> --- a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >> +++ b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >> @@ -256,6 +256,7 @@ SanitizerCoverageModule::CreateSecStartEnd(Module >> &M, const char *Section, >> new GlobalVariable(M, Ty, false, GlobalVariable::ExternalLinkage, >> nullptr, getSectionEnd(Section)); >> SecEnd->setVisibility(GlobalValue::HiddenVisibility); >> + ap...
2016 Mar 01
0
Pass is not initialized
I need some help figuring out existing pass problem. I've submitted a CL on Friday (http://reviews.llvm.org/rL262103) that broke _only_ armv7 & aarch64 bots: "Pass 'SanitizerCoverageModule' is not initialized." (it was rolled back). Today I've obtained access to aarch64 machine today, applied the patch and check-all passes without any issues (terminal capture at the end). Could there be something wrong with these bots? Do you have any idea what to try? === Build Fail...
2017 Aug 24
2
Building LLVM's fuzzers
...: diff --git a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp index c6f0d17f8fe..e81957ab80a 100644 --- a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp +++ b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp @@ -256,6 +256,7 @@ SanitizerCoverageModule::CreateSecStartEnd(Module &M, const char *Section, new GlobalVariable(M, Ty, false, GlobalVariable::ExternalLinkage, nullptr, getSectionEnd(Section)); SecEnd->setVisibility(GlobalValue::HiddenVisibility); + appendToUsed(M, {SecStart, SecEnd}); return...
2017 Aug 24
3
Building LLVM's fuzzers
...b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >>>> index c6f0d17f8fe..e81957ab80a 100644 >>>> --- a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >>>> +++ b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >>>> @@ -256,6 +256,7 @@ SanitizerCoverageModule::CreateSecStartEnd(Module >>>> &M, const char *Section, >>>> new GlobalVariable(M, Ty, false, GlobalVariable::ExternalLinkag >>>> e, >>>> nullptr, getSectionEnd(Section)); >>>> SecEnd->setVisibil...
2017 Aug 25
2
Building LLVM's fuzzers
...nitizerCoverage.cpp > >>>>> index c6f0d17f8fe..e81957ab80a 100644 > >>>>> --- a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp > >>>>> +++ b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp > >>>>> @@ -256,6 +256,7 @@ SanitizerCoverageModule:: > CreateSecStartEnd(Module > >>>>> &M, const char *Section, > >>>>> new GlobalVariable(M, Ty, false, > GlobalVariable::ExternalLinkag > >>>>> e, > >>>>> nullptr, getSectionEnd(Secti...
2017 Sep 11
2
Building LLVM's fuzzers
...>>>>> index c6f0d17f8fe..e81957ab80a 100644 >>> >>>>> --- a/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >>> >>>>> +++ b/lib/Transforms/Instrumentation/SanitizerCoverage.cpp >>> >>>>> @@ -256,6 +256,7 @@ SanitizerCoverageModule::Creat >>> eSecStartEnd(Module >>> >>>>> &M, const char *Section, >>> >>>>> new GlobalVariable(M, Ty, false, >>> GlobalVariable::ExternalLinkag >>> >>>>> e, >>> >>>>>...
2017 Aug 24
3
Building LLVM's fuzzers
> On Aug 24, 2017, at 2:55 PM, Kostya Serebryany <kcc at google.com> wrote: > > Interesting. > This is a relatively new addition (fsanitize-coverage=pc-tables, which is now a part of -fsanitize=fuzzer). > The tests worked (did they? On Mac?) so I thought everything is ok. For tests we never compile the tested target with -O3 (and that wouldn’t be sufficient), and for