diff options
author | Eric Christopher <echristo@gmail.com> | 2013-10-16 01:37:49 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-10-16 01:37:49 +0000 |
commit | d2b497b522c3b2524518aac1283da508e88d7700 (patch) | |
tree | 73fb0a7130931604b3d00cbcbe577952ad86da67 /clang/test/CodeGen/mangle-windows-rtd.c | |
parent | 43c4e24fad22d847b8345331a66e3397216f650e (diff) | |
download | bcm5719-llvm-d2b497b522c3b2524518aac1283da508e88d7700.tar.gz bcm5719-llvm-d2b497b522c3b2524518aac1283da508e88d7700.zip |
Fix a pair of bugs in the emission of pubname tables:
1) Make sure we emit static member variables by checking
at the end of createGlobalVariableDIE rather than piecemeal
in the function.
(As a note, createGlobalVariableDIE needs rewriting.)
2) Make sure we use the definition rather than declaration DIE
for two things: a) determining linkage for gnu pubnames, and b)
as the address of the DIE for global variables.
(As a note, createGlobalVariableDIE really needs rewriting.)
Adjust the testcase to make sure we're checking the correct DIEs.
llvm-svn: 192761
Diffstat (limited to 'clang/test/CodeGen/mangle-windows-rtd.c')
0 files changed, 0 insertions, 0 deletions