Only force "extern" linkage if the function used to be a definition
in the source module. Declarations keep their original linkage.
Details
Details
- Reviewers
pcc
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Utils/CloneModule.cpp | ||
---|---|---|
128–129 | Shouldn't we also do this for global variables? |
Shouldn't we also do this for global variables?