diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-25 21:36:41 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-25 21:36:41 +0000 |
commit | bb2958a04287c3f53b17fc2442364a51ef2bc838 (patch) | |
tree | 9be8096124000280a5494ce74ee4afe9004a1f1c /clang/lib/Basic/Targets.cpp | |
parent | 51fcf0fc5f00ac6ed8bedc6c09992356f4859974 (diff) | |
download | bcm5719-llvm-bb2958a04287c3f53b17fc2442364a51ef2bc838.tar.gz bcm5719-llvm-bb2958a04287c3f53b17fc2442364a51ef2bc838.zip |
Linker: Stop using -gmlt test/Linker/subprogram-linkonce-weak.ll
As dblaikie pointed out, if I stop setting `emissionKind: 2` then the
backend won't do magical things on Linux vs. Darwin. I had wrongly
assumed that there were stricter requirements on the input if we weren't
in line-tables-only mode, but apparently not.
With that knowledge, clean up this testcase a little more.
- Set `emissionKind: 1`.
- Add back checks for the weak version of @foo.
- Check more robustly that we have the right subprograms by checking
the `DW_AT_decl_file` and `DW_AT_decl_line` which now show up.
- Check the line table in isolation (since it's no longer doubling as
an indirect test for the subprogram of the weak version of @foo).
llvm-svn: 233221
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions