diff options
author | Andrew Wilkins <axwalk@gmail.com> | 2016-12-06 05:39:14 +0000 |
---|---|---|
committer | Andrew Wilkins <axwalk@gmail.com> | 2016-12-06 05:39:14 +0000 |
commit | 78ac1f1d42c8415ff0a84e1614bfe076b45ed061 (patch) | |
tree | df94eb7bacd8a4315b5377c7dd0ee8da16b339f9 /llvm/lib/ObjectYAML/MachOYAML.cpp | |
parent | 6413f8a8f2987e4c05afa91cc87ee1d0ce609805 (diff) | |
download | bcm5719-llvm-78ac1f1d42c8415ff0a84e1614bfe076b45ed061.tar.gz bcm5719-llvm-78ac1f1d42c8415ff0a84e1614bfe076b45ed061.zip |
[llgo] set debuglocs for calls in synthetic functions
Synthesized functions do not have valid locations,
and so we were not setting a debug location. Recent
changes to DI require that function call instructions
within a function having DI must have a location set.
We just set the debug location to line=0, col=0.
Reviewers: pcc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D22905
llvm-svn: 288772
Diffstat (limited to 'llvm/lib/ObjectYAML/MachOYAML.cpp')
0 files changed, 0 insertions, 0 deletions