You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[here,](https://github.com/SRI-CSL/whole-program-llvm/blob/master/doc/tutorial.md) and for Ubuntu 16.04 [here.](https://github.com/SRI-CSL/whole-program-llvm/blob/master/doc/tutorial-ubuntu-16.04.md)
118
120
119
121
Building a bitcode module with dragonegg
120
122
========================================
@@ -128,9 +130,12 @@ Building a bitcode module with dragonegg
128
130
CC=wllvm ./configure
129
131
make
130
132
131
-
# Produces pkg-config.bc
133
+
Again, this should produce the executable `pkg-config`. To extract the bitcode:
134
+
132
135
extract-bc pkg-config
133
136
137
+
which will produce the bitcode module `pkg-config.bc`.
138
+
134
139
135
140
Building bitcode archive
136
141
========================
@@ -145,22 +150,30 @@ Building bitcode archive
145
150
# Produces src/LinearMath/libLinearMath.bca
146
151
extract-bc src/LinearMath/libLinearMath.a
147
152
148
-
# Produces src/LinearMath/libLinearMath.a.bc
153
+
Note that by default extracting bitcode from an archive produces
154
+
an archive of bitcode. You can also extract the bitcode directly into a module.
155
+
149
156
extract-bc -b src/LinearMath/libLinearMath.a
150
157
158
+
produces `src/LinearMath/libLinearMath.a.bc`.
151
159
152
160
153
161
154
162
Building an Operating System
155
163
============================
156
164
157
-
To see how to build freeBSD 10.0 from scratch check out this
158
-
[guide.](../master/doc/tutorial-freeBSD.md)
165
+
To see how to build freeBSD 10.0 from scratch check out this
0 commit comments