mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 05:47:11 +03:00
parent
d005078b4a
commit
de948bd664
6 changed files with 47 additions and 2 deletions
|
@ -1233,6 +1233,9 @@ void DtoDefineFunction(FuncDeclaration *fd, bool linkageAvailableExternally) {
|
|||
if (opts::fSplitStack && !hasNoSplitStackUDA(fd)) {
|
||||
func->addFnAttr("split-stack");
|
||||
}
|
||||
if (opts::isUsingSampleBasedPGOProfile()) {
|
||||
func->addFnAttr("use-sample-profile");
|
||||
}
|
||||
|
||||
llvm::BasicBlock *beginbb =
|
||||
llvm::BasicBlock::Create(gIR->context(), "", func);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue