This patch is a precursor to D91722, which has a more comprehensive refactor of debug info salvaging. This patch simply refactors out the salvaging of GEP and BinOp instructions into separate functions, in preparation for the larger changes introduced in those areas in the aforementioned patch; there should be no functional change as a result of this refactor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/Utils/Local.cpp | ||
---|---|---|
26 | Functions should either be static or namespace qualified (like bool llvm::foobar() { ... } |
llvm/lib/Transforms/Utils/Local.cpp | ||
---|---|---|
26 | I believe this only applies to functions declared in the header; this new batch of functions are not declared in a header, or even earlier within this source (this is the declaration). |
https://llvm.org/docs/CodingStandards.html#use-namespace-qualifiers-to-implement-previously-declared-functions
Functions should either be static or namespace qualified (like bool llvm::foobar() { ... }