Skip to content
Commit 04da2385 authored by Yaron Keren's avatar Yaron Keren
Browse files

In case of an existing GlobalVariable, the comdat is created using the name of the

new GV (usually NAME.1) instead of the correct NAME of the old GV. Moving comdat
creation after GV replacement solves this. Patch + testcase.

Reviewed by Reid Kleckner.

http://reviews.llvm.org/D11594

llvm-svn: 243525
parent 63afb679
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment