search for: secstart

Displaying 6 results from an estimated 6 matches for "secstart".

2017 Aug 24
4
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::ExternalLinkage, >> nullptr, getSectionEnd(Section)); >> SecEnd->setVisibility(GlobalValue::HiddenVisibility); >> + appendToUsed(M, {Se...
2017 Aug 24
2
Building LLVM's fuzzers
...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 std::make_pair(S...
2017 Aug 24
3
Building LLVM's fuzzers
...on/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->setVisibility(GlobalValue::...
2017 Aug 25
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:: > CreateSecStartEnd(Module > >>>>> &M, const char *Section, > >>>>> new GlobalVariable(M, Ty, false, > GlobalVariable::ExternalLinkag > >>>>> e, > >>>>> nullptr, getSectionEnd(Section)); > >>>...
2017 Sep 11
2
Building LLVM's fuzzers
...57ab80a 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, >>> >>>>> nullptr, ge...
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