This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
| |
LLVMROOT=/home/mskvortsov/msp430-clang/build | |
NEWLIB=/opt/msp430-newlib | |
TICCS=/opt/ti/ccsv8 | |
PWD=$(pwd) | |
| |
make \ | |
BOARD=telosb \ | |
CC=$LLVMROOT/bin/clang \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/ObjWriter/objwriter.cpp b/lib/ObjWriter/objwriter.cpp | |
index 5024c55..c2f302c 100644 | |
--- a/lib/ObjWriter/objwriter.cpp | |
+++ b/lib/ObjWriter/objwriter.cpp | |
@@ -303,6 +303,15 @@ void ObjectWriter::EmitIntValue(uint64_t Value, unsigned Size) { | |
void ObjectWriter::EmitSymbolDef(const char *SymbolName) { | |
MCSymbol *Sym = OutContext->getOrCreateSymbol(Twine(SymbolName)); | |
Streamer->EmitSymbolAttribute(Sym, MCSA_Global); | |
+ | |
+ // A Thumb2 function symbol should be marked with an appropriate ELF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 0.000000] Initializing cgroup subsys cpuset | |
[ 0.000000] Initializing cgroup subsys cpu | |
[ 0.000000] Initializing cgroup subsys cpuacct | |
[ 0.000000] Linux version 3.14.79-113 (root@a53_b1) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #1 SMP PREEMPT Wed May 10 00:43:15 BRT 2017 | |
[ 0.000000] CPU: AArch64 Processor [410fd034] revision 4 | |
[ 0.000000] secmon: share mem setup | |
[ 0.000000] Reserved memory: initialized node linux,secmon, compatible id aml_secmon_memory | |
[ 0.000000] __reserved_mem_alloc_size: linux,meson-fb | |
[ 0.000000] fb: Reserved memory: created fb at 0x0000000078000000, size 128 MiB | |
[ 0.000000] Reserved memory: initialized node linux,meson-fb, compatible id amlogic, fb-memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
****** START compiling Test:LongId(long):long (MethodHash=0f9627fe) | |
Generating code for Unix arm | |
OPTIONS: compCodeOpt = BLENDED_CODE | |
OPTIONS: compDbgCode = false | |
OPTIONS: compDbgInfo = true | |
OPTIONS: compDbgEnC = false | |
OPTIONS: compProcedureSplitting = false | |
OPTIONS: compProcedureSplittingEH = false | |
OPTIONS: Stack probing is DISABLED | |
IL to import: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
****** START compiling Test:LongId(long):long (MethodHash=0f9627fe) | |
Generating code for Unix arm | |
OPTIONS: compCodeOpt = BLENDED_CODE | |
OPTIONS: compDbgCode = false | |
OPTIONS: compDbgInfo = true | |
OPTIONS: compDbgEnC = false | |
OPTIONS: compProcedureSplitting = false | |
OPTIONS: compProcedureSplittingEH = false | |
OPTIONS: Stack probing is DISABLED | |
IL to import: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ coreclr/corerun Bytemark.exe | |
BBBBBB YYY Y TTTTTTT EEEEEEE | |
BBB B YYY Y TTT EEE | |
BBB B YYY Y TTT EEE | |
BBBBBB YYY Y TTT EEEEEEE | |
BBB B YYY TTT EEE | |
BBB B YYY TTT EEE | |
BBBBBB YYY TTT EEEEEEE | |
BYTEmark (tm) C# Mode Benchmark ver. 2 (06/99) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Use like this: | |
# cd into empty directory where source tree will be reconstructed | |
# objdump --dwarf=decodedline <list of elfs> |dwarf-recover-src-tree.py | |
# (tested only with GNU objdump 2.26.1) | |
import sys, os, string | |
dictionary = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lldb | |
import ctypes | |
class Array_SynthProvider: | |
def __init__(self, valobj, dict): | |
self.valobj = valobj | |
def num_children(self): | |
return self.num_components.GetValueAsUnsigned(0) |