mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-04 08:37:45 +00:00
80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eb0c179b56
commit
bbe88b7f0d
@ -561,9 +561,9 @@ bool DataFlowSanitizer::runOnModule(Module &M) {
|
||||
FunctionType *NewFT = getInstrumentedABI() == IA_Args
|
||||
? getArgsFunctionType(FT)
|
||||
: FT;
|
||||
Function *NewF =
|
||||
buildWrapperFunction(&F, std::string("dfsw$") + std::string(F.getName()),
|
||||
GlobalValue::LinkOnceODRLinkage, NewFT);
|
||||
Function *NewF = buildWrapperFunction(
|
||||
&F, std::string("dfsw$") + std::string(F.getName()),
|
||||
GlobalValue::LinkOnceODRLinkage, NewFT);
|
||||
if (getInstrumentedABI() == IA_TLS)
|
||||
NewF->removeAttributes(AttributeSet::FunctionIndex, ReadOnlyNoneAttrs);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user