diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-01-18 00:00:58 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-01-18 00:00:58 +0000 |
commit | 729e68693f3618a219f9737d056046ea0b55ff11 (patch) | |
tree | db49a0932b1e30e61b672d2d1d52e6a0e06c0475 /clang/lib/Frontend/CodeGenOptions.cpp | |
parent | 1aa9061c5f4c2697bc15c73bdb465d967fc20b11 (diff) | |
download | bcm5719-llvm-729e68693f3618a219f9737d056046ea0b55ff11.tar.gz bcm5719-llvm-729e68693f3618a219f9737d056046ea0b55ff11.zip |
[MachineOutliner] Add DISubprograms to outlined functions.
Before, it wasn't possible to get backtraces inside outlined functions. This
commit adds DISubprograms to the IR functions created by the outliner which
makes this possible. Also attached a test that ensures that the produced
debug information is correct. This is useful to users that want to debug
outlined code.
llvm-svn: 322789
Diffstat (limited to 'clang/lib/Frontend/CodeGenOptions.cpp')
0 files changed, 0 insertions, 0 deletions