diff options
author | Scott Linder <scott@scottlinder.com> | 2018-02-26 17:32:31 +0000 |
---|---|---|
committer | Scott Linder <scott@scottlinder.com> | 2018-02-26 17:32:31 +0000 |
commit | a2fbcef8ee7cc4c90cbe2554e36d9cb859965833 (patch) | |
tree | 10e3ac019f5c8338c51d02bcd4024f27bdb95251 /clang/test/CodeGen/Inputs | |
parent | 2a26a286db424050435d1e8e01c39438d927aa06 (diff) | |
download | llvm-a2fbcef8ee7cc4c90cbe2554e36d9cb859965833.zip llvm-a2fbcef8ee7cc4c90cbe2554e36d9cb859965833.tar.gz llvm-a2fbcef8ee7cc4c90cbe2554e36d9cb859965833.tar.bz2 |
[DebugInfo] Support DWARF v5 source code embedding extension
In DWARF v5 the Line Number Program Header is extensible, allowing values with
new content types. This vendor extension to DWARF v5 allows source text to be
embedded directly in the line tables of the debug line section.
Add new flag (-g[no-]embed-source) to Driver and CC1 which indicates
that source should be passed through to LLVM during CodeGen.
Differential Revision: https://reviews.llvm.org/D42766
llvm-svn: 326102
Diffstat (limited to 'clang/test/CodeGen/Inputs')
-rw-r--r-- | clang/test/CodeGen/Inputs/debug-info-embed-source.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/Inputs/debug-info-embed-source.c b/clang/test/CodeGen/Inputs/debug-info-embed-source.c new file mode 100644 index 0000000..2fb55ee --- /dev/null +++ b/clang/test/CodeGen/Inputs/debug-info-embed-source.c @@ -0,0 +1 @@ +void foo() { } |