Merge pull request #1699 from ethereum/asmlabels

Assembly labels with stack information
This commit is contained in:
Yoichi Hirai authored and GitHub committed 2017-03-08 11:56:44 +01:00
commit a1e350a4ae
8 files changed
+625 -201

No files matched your search

+8
View File
@@ -64,6 +64,14 @@ Error::Error(Type _type, SourceLocation const& _location, string const& _descrip
*this << errinfo_comment(_description);
}
Error::Error(Error::Type _type, const std::string& _description, const SourceLocation& _location):
Error(_type)
{
if (!_location.isEmpty())
*this << errinfo_sourceLocation(_location);
*this << errinfo_comment(_description);
}
string Exception::lineInfo() const
{
char const* const* file = boost::get_error_info<boost::throw_file>(*this);