Displaying 2 results from an estimated 2 matches for "pgocount".
2014 Feb 21
12
[LLVMdev] asan coverage
...e,
+ llvm::Constant::getNullValue(CounterTy),
+ "__llvm_pgo_pcs");
+
}
void CodeGenPGO::emitCounterIncrement(CGBuilderTy &Builder, unsigned
Counter) {
@@ -779,6 +788,21 @@
llvm::Value *Count = Builder.CreateLoad(Addr, "pgocount");
Count = Builder.CreateAdd(Count, Builder.getInt64(1));
Builder.CreateStore(Count, Addr);
+ // We should put the PC of the instruction that increments __llvm_pgo_ctr
+ // into __llvm_pgo_pcs, which will be passed to llvm_pgo_emit.
+ // This patch is wrong in many ways:
+ // * We...
2014 Feb 19
2
[LLVMdev] asan coverage
I've built chromium with " -fprofile-instr-generate -fsanitize=address" --
the performance looks good!
The file format from r198638 is indeed rudimentary.
Do you already know how the real output format will look like?
Just to summarize what I think is important:
- minimal size on disk, minimal amount of files
- minimal i/o while writing to disk, no lockf or some such
-