Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

hannobraun/dwarf-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DWARF Test

A small project to demonstrate that rustc generates invalid DWARF when LTO is enabled.

How to reproduce:

git clone https://github.com/hannobraun/dwarf-test.git
git clone https://github.com/gimli-rs/gimli.git

In the dwarf-test directory, run:

cargo build

In the Gimli directory, run:

cargo run --example dwarf-validate ../dwarf-test/target/debug/dwarf-test

You should see a whole lot of error messages.