Class XCoffSymbol
java.lang.Object
org.eclipse.cdt.utils.Symbol
org.eclipse.cdt.utils.xcoff.parser.XCoffSymbol
- All Implemented Interfaces:
Comparable<Object>,IBinaryParser.ISymbol
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.IBinaryParser.ISymbol
FUNCTION, VARIABLE -
Constructor Summary
ConstructorsConstructorDescriptionXCoffSymbol(BinaryObjectAdapter binary, String name, int type, IAddress addr, long size) XCoffSymbol(BinaryObjectAdapter binary, String name, int type, IAddress addr, long size, org.eclipse.core.runtime.IPath sourceFile, int startLine, int endLine) -
Method Summary
Modifier and TypeMethodDescriptionintgetLineNumber(long offset) Line number corresponding to the address offset.Methods inherited from class org.eclipse.cdt.utils.Symbol
compareTo, getAddress, getBinaryObject, getEndLine, getFilename, getName, getSize, getStartLine, getType
-
Constructor Details
-
XCoffSymbol
public XCoffSymbol(BinaryObjectAdapter binary, String name, int type, IAddress addr, long size, org.eclipse.core.runtime.IPath sourceFile, int startLine, int endLine) - Parameters:
binary-name-type-addr-size-sourceFile-startLine-endLine-
-
XCoffSymbol
- Parameters:
binary-name-type-addr-size-
-
-
Method Details
-
getLineNumber
public int getLineNumber(long offset) Description copied from interface:IBinaryParser.ISymbolLine number corresponding to the address offset.- Specified by:
getLineNumberin interfaceIBinaryParser.ISymbol- Overrides:
getLineNumberin classSymbol- Parameters:
offset-
-