[PATCH] D105176: [InstrProfiling] Use external weak reference for bias variable

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 16:46:14 PDT 2021


thakis added inline comments.


================
Comment at: compiler-rt/lib/profile/InstrProfilingFile.c:456
-
 static int writeMMappedFile(FILE *OutputFile, char **Profile) {
   if (!OutputFile)
----------------
```
../../compiler-rt/lib/profile/InstrProfilingFile.c:429:12: warning: unused function 'writeMMappedFile' [-Wunused-function]
static int writeMMappedFile(FILE *OutputFile, char **Profile) {
           ^
```

I guess this should now just move into the elif?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105176/new/

https://reviews.llvm.org/D105176



More information about the llvm-commits mailing list