Split out of D140908 as suggested, and added unit testing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm with some minor comments.
llvm/unittests/IR/ModuleSummaryIndexTest.cpp | ||
---|---|---|
18 | nit: Unless you have state shared across multiple tests, it would be simpler to avoid the test fixture and keep makeLLVMIndex as static helper method. | |
33 | Can we remove content in the string summary which is unrelated to the test? E.g. funcFlags should be ok to drop? | |
52 | Can we use a raw string for the expectation? |
nit: Unless you have state shared across multiple tests, it would be simpler to avoid the test fixture and keep makeLLVMIndex as static helper method.