about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorJan-Erik Rediger <janerik@fnordig.de>2016-07-13 00:40:38 +0200
committerJan-Erik Rediger <janerik@fnordig.de>2016-07-29 10:29:44 +0200
commitfba1f8f1239e45aa44bacfa0f955a24e3ade6982 (patch)
tree4576d03435b4d2894826e013f293aee1efbdcc87 /src/rustllvm/PassWrapper.cpp
parent7420874a97a268d1c75dbc0e95231e4c8a1d513a (diff)
downloadrust-fba1f8f1239e45aa44bacfa0f955a24e3ade6982.tar.gz
rust-fba1f8f1239e45aa44bacfa0f955a24e3ade6982.zip
[LLVM-3.9] Setup the compile unit information immediately
Since LLVM reversed the order of the debug info graphs, we need to have
a compile unit that exists *before* any functions (`DISubprogram`s) are
created. This allows the LLVM debug info builder to automatically link
the functions to the compile unit.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions