summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-dwp/Inputs/simple/a.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-12-01 00:48:39 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-12-01 00:48:39 +0000
commit242b948817a0dc6456d7f9711b152608aa39f603 (patch)
tree1fe8269e84781d92b9ffa77f4a54fa8d9ea08b13 /llvm/test/tools/llvm-dwp/Inputs/simple/a.cpp
parentdf05525d86d3d2639624da794b1026a0370a18d9 (diff)
downloadbcm5719-llvm-242b948817a0dc6456d7f9711b152608aa39f603.tar.gz
bcm5719-llvm-242b948817a0dc6456d7f9711b152608aa39f603.zip
[llvm-dwp] Initial partial prototype
This just concatenates the common DWP sections without doing any of the fancy DWP things like: 1) update str_offsets 2) deduplicating strings 3) merging/creating cu/tu_index Patches for these will follow shortly. (also not sure about target triple/object file type for this tool - do I really need a whole triple just to write an object file that contains purely static/hardcoded bytes in each section? & I guess I should just pick it based on the first input, maybe, rather than hardcoding for now - but we only produce .dwo on ELF platforms with objcopy for now anyway) llvm-svn: 254355
Diffstat (limited to 'llvm/test/tools/llvm-dwp/Inputs/simple/a.cpp')
-rw-r--r--llvm/test/tools/llvm-dwp/Inputs/simple/a.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-dwp/Inputs/simple/a.cpp b/llvm/test/tools/llvm-dwp/Inputs/simple/a.cpp
new file mode 100644
index 00000000000..f85d105a99f
--- /dev/null
+++ b/llvm/test/tools/llvm-dwp/Inputs/simple/a.cpp
@@ -0,0 +1,2 @@
+struct foo { };
+foo a;
OpenPOWER on IntegriCloud