-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for DDR #1222
Fixes for DDR #1222
Conversation
Signed-off-by: Andrew Young <[email protected]>
We currently are missing a call to dwarf_attr() to fetch the DW_AT_comp_dir attribute. This call was there previously, but lost in change 055c3bf. This means that attr will always be NULL. On my Linux machine, dwarf_formatstring() will segfault when passed attr with a value of NULL. The manual states that dwarf_formatstring() will return DW_DLE_ARGUMENT if "Either of arguments or ret was NULL", but also states "The form of argument attr must be one of DW_FORM_string or DW_FORM_strp". Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
dwarf_hasattr() only returns DW_DLV_ERROR in the case of an internal dwarf library error, not in the case of no attribute present. If the Die has no compilation directory, hasAttr will be false. The correct thing to do here is to check the value of hasAttr. Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Causing a compile failure on OSX. Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Build DDR as part of OMR. Use standard OMR configuration. Move the DDR libraries from src to lib/$libname Move the DDR tools from src to tools/$toolname Move headers to include/ddr/ include headers by their full path "ddr/*.hpp" Capitalize Makefile names Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Also update testing instructions to reflect the current location. Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Jason Hall <[email protected]>
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Jason Hall <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
@@ -19,7 +19,7 @@ | |||
#ifndef MODIFIERS_HPP | |||
#define MODIFIERS_HPP | |||
|
|||
#include <string> | |||
#include "ddr/std/string.hpp" | |||
#include <vector> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does vector also need a compatibility header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't think of a reason it would
ddr/include/ddr/ir/Type.hpp
Outdated
@@ -22,7 +22,7 @@ | |||
#include "ddr/config.hpp" | |||
|
|||
#include <set> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And set too?
Signed-off-by: Robert Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
Signed-off-by: Andrew Young <[email protected]>
I have created a CQ and uploaded a patch for this change. For those who are members of the project, the CQ is here: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=13962. I will try to keep this PR updated with the CQ status. |
Signed-off-by: Andrew Young <[email protected]>
This CQ has been approved! |
Signed-off-by: Robert Young <[email protected]>
Continuing from #1014.
This PR introduces the following changes: