Turning on -funique-internal-linkage-names when -fpseudo-probe-for-profiling is on, unless -fno-unique-internal-linkage-names is specified.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/Driver/pseudo-probe.c | ||
---|---|---|
4 | how do we test unique linkage name is implied with probe on? |
clang/test/Driver/pseudo-probe.c | ||
---|---|---|
4 | These two test lines below corresponding to line 1 in the test, which show that -funique-internal-linkage-names is passed to cc1. // YESPROBE: -fpseudo-probe-for-profiling // YESPROBE: -funique-internal-linkage-names The change being made here is a driver change, so a driver test should be good. |
clang/test/Driver/pseudo-probe.c | ||
---|---|---|
4 | The change is about making -funique-internal-linkage-names implied, but the test specified that switch explicitly. I was asking how to test the "implicit" part? Not sure what line 4 is testing wrt to this change. |
how do we test unique linkage name is implied with probe on?