about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-15 16:56:03 +0000
committerbors <bors@rust-lang.org>2014-09-15 16:56:03 +0000
commita8d478db512803d25785a11c5b21634f8703b17f (patch)
tree3b26870796579c4563a938cadf93b98569b6d7f7 /src/rustllvm/ExecutionEngineWrapper.cpp
parent8e2860407b6b9e618e9f466610ae66e51f0d16da (diff)
parentad9a1daa819bbeb8e643a01167b3b69055b88d57 (diff)
downloadrust-a8d478db512803d25785a11c5b21634f8703b17f.tar.gz
rust-a8d478db512803d25785a11c5b21634f8703b17f.zip
auto merge of #17208 : kmcallister/rust/llvm-diagnostics, r=thestinger
I would like to map this information back to AST nodes, so that we can print remarks with spans, and so that remarks can be enabled on a per-function basis.  Unfortunately, doing this would require a lot more code restructuring — for example, we currently throw away the AST map and lots of other information before LLVM optimizations run.  So for the time being, we print the remarks with debug location strings from LLVM.  There's a warning if you use `-C remark` without `--debuginfo`.

Fixes #17116.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions