xiaobai accepted this revision.
xiaobai added a comment.
This revision is now accepted and ready to land.
Good catch! Thank you so much.
https://reviews.llvm.org/D53917
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/
xiaobai accepted this revision.
xiaobai added a comment.
Yep, this looks good to me. Thanks! :)
https://reviews.llvm.org/D54333
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
xiaobai added inline comments.
Comment at: tools/debugserver/source/CMakeLists.txt:128-133
+# TODO: Following the old behavior, DEBUGSERVER_PATH still points to the
+# original system binary, even if we copy it over. Keep this?
+set(DEBUGSERVER_PATH
"${lldb_framework
xiaobai accepted this revision.
xiaobai added a comment.
This revision is now accepted and ready to land.
This change looks fine to me. Have you considered creating something like a
"debugserverStandalone.cmake" file similar to how LLDB standalone builds work?
Might save us from some duplication
xiaobai accepted this revision.
xiaobai added a comment.
Definitely much easier to read. Thanks for taking care of this! :)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55317/new/
https://reviews.llvm.org/D55317
___
lldb-commits mailing li
xiaobai added a comment.
Looks good to me overall. You also probably probably also invoke
`lldb_setup_rpaths_framework` for the tools included in the framework
(argdumper, darwin-debug, debugserver, lldb-server).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55330/new/
https://reviews
xiaobai created this revision.
xiaobai added reviewers: compnerd, sas, labath, beanz, zturner.
Herald added a subscriber: mgorny.
Generating LLDB.framework when building with CMake+Ninja will copy the
lldb-private headers because public_headers contains them, even though we try
to make sure they d
xiaobai added a comment.
I also think that'd be a great idea. The only way I can think to do that would
be to build LLDB.framework using both build systems and compare the two. Is
there a faster way?
https://reviews.llvm.org/D47278
___
lldb-commit
xiaobai added a comment.
In https://reviews.llvm.org/D47278#1110104, @clayborg wrote:
> That is the only guaranteed way as new headers could come along.
> LLDB.framework doesn't have headers in installed Xcode.app bundles
In that case, adding this test could double build times since we would
xiaobai added a comment.
In https://reviews.llvm.org/D47278#1110155, @clayborg wrote:
> sorry, not as a test, but just as a way to figure out if we are getting all
> the needed header files when we modify this framework header file copying
> code.
Ah, yeah. I'm in the process of trying to bui
xiaobai added a comment.
In https://reviews.llvm.org/D47278#1110171, @clayborg wrote:
> In https://reviews.llvm.org/D47278#1110164, @xiaobai wrote:
>
> > In https://reviews.llvm.org/D47278#1110155, @clayborg wrote:
> >
> > > sorry, not as a test, but just as a way to figure out if we are getting
xiaobai updated this revision to Diff 148305.
xiaobai added a comment.
Remove SystemInitializerFull.h from framework headers
https://reviews.llvm.org/D47278
Files:
source/API/CMakeLists.txt
Index: source/API/CMakeLists.txt
===
xiaobai created this revision.
xiaobai added reviewers: labath, clayborg.
It seems to me that files in include/lldb/API/ are headers that should
be exposed to liblldb users. Because SystemInitializerFull.h exposes details of
lldb_private, I think having it there is not the right thing to do. Since
xiaobai added a comment.
In https://reviews.llvm.org/D47278#1110777, @labath wrote:
> From a layering perspective, it makes sense for SystemInitializerFull to live
> in the outermost layer, as it's the thing which makes sure liblldb pulls in
> all required components. Since it is only included
This revision was automatically updated to reflect the committed changes.
Closed by commit rL04: Move SystemInitializerFull header to source/API
(authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D47342?vs=148459&
xiaobai updated this revision to Diff 148688.
xiaobai added a comment.
Updating to reflect changes in r04
https://reviews.llvm.org/D47278
Files:
source/API/CMakeLists.txt
Index: source/API/CMakeLists.txt
===
--- source/API/
This revision was automatically updated to reflect the committed changes.
Closed by commit rL333444: Remove lldb-private headers when building
LLDB.framework with CMake (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D
xiaobai added inline comments.
Comment at: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp:208
+void DWARFUnit::ExtractDIEsEndCheck(lldb::offset_t offset) const {
+ lldb::offset_t next_cu_offset = GetNextCompileUnitOffset();
+
This function introduces a
xiaobai created this revision.
xiaobai added reviewers: clayborg, labath, sas.
Herald added a subscriber: mgorny.
The LLDB.framework generated when building with CMake + Ninja/Make is
completely missing the clang headers. Although the code to copy them exists, we
don't even generate them unless we
This revision was automatically updated to reflect the committed changes.
Closed by commit rL333777: Add dependency on clang-headers when building
LLDB.framework using CMake (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.
xiaobai added a comment.
In https://reviews.llvm.org/D47612#1118615, @labath wrote:
> I don't understand the interactions between lldb framework and clang headers,
> but if there isn't a better person to review this, I'm happy to rubber-stamp
> it. :)
Thanks! I don't quite understand it eithe
xiaobai created this revision.
xiaobai added a reviewer: clayborg.
Herald added a subscriber: mgorny.
Instead of assuming that SWIG generated files (e.g. lldb.py) will live
in scripts, we should set it to $LLDB_PYTHON_TARGET_DIR. This variable is set to
scripts, except when building LLDB.framework
xiaobai added reviewers: labath, sas.
xiaobai added a comment.
I'm not sure who else would be interested in reviewing this. If you know
somebody, please add them. :)
https://reviews.llvm.org/D47742
___
lldb-commits mailing list
lldb-commits@lists.l
xiaobai added inline comments.
Comment at: scripts/CMakeLists.txt:38
OUTPUT ${LLDB_WRAP_PYTHON}
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lldb.py
DEPENDS ${SWIG_SOURCES}
sas wrote:
> ...and this path were not the same before your change. Was that a bug that
>
This revision was automatically updated to reflect the committed changes.
Closed by commit rL333968: Change SWIG output directory when building
LLDB.framework with CMake (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/
xiaobai created this revision.
xiaobai added reviewers: sas, clayborg.
Herald added a subscriber: mgorny.
We weren't using the Info.plist template in resources previously.
When using that template, some of the key's values weren't being populated
because some variables were not being defined. In o
xiaobai created this revision.
xiaobai added reviewers: sas, clayborg, labath.
Herald added a subscriber: mgorny.
When you build LLDB.framework with cmake, the liblldb target is built
as a framework. When lldb tools are built with INCLUDE_IN_FRAMEWORK, then
LLDB.framework should depend on those to
xiaobai added a comment.
> No existing INCLUDE_IN_FRAMEWORK tool links to liblldb, just it's individual
> components, which is fine. And this is probably a state that we should
> maintain for the future.
I think I agree with you here.
> So, how about we do this instead:
>
> - rename INCLUDE_I
xiaobai added inline comments.
Comment at: source/API/CMakeLists.txt:184
+ set(EXECUTABLE_NAME "LLDB")
+ set(CURRENT_PROJECT_VERSION "360.99.0")
set_target_properties(liblldb PROPERTIES
clayborg wrote:
> sas wrote:
> > clayborg wrote:
> > > Currently the app
xiaobai added a comment.
In https://reviews.llvm.org/D47801#1123933, @labath wrote:
> In https://reviews.llvm.org/D47801#1123895, @xiaobai wrote:
>
> > > - rename INCLUDE_IN_FRAMEWORK to something more neutral (USED_BY_LIBLLDB
> > > or whatever)
> > > - make the liblldb -> tool dependency not co
xiaobai abandoned this revision.
xiaobai added a comment.
Going to go with the direction we discussed here. This shouldn't be needed.
https://reviews.llvm.org/D47801
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi
xiaobai created this revision.
xiaobai added reviewers: eugene, labath, beanz.
Herald added a subscriber: mgorny.
Instead of checking if code compiles, I think it is a better to check
if the symbol exists. This is simpler and should do the same thing.
https://reviews.llvm.org/D47897
Files:
cm
This revision was automatically updated to reflect the committed changes.
Closed by commit rL334219: Check for process_vm_readv using CheckSymbolExists
(authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D47897
Files:
l
xiaobai created this revision.
xiaobai added reviewers: clayborg, labath, sas.
Herald added a subscriber: mgorny.
Currently, the liblldb target is treated as the entire framework when
building LLDB.framework with CMake, and treated only as the actual liblldb
library otherwise. In this patch I aim
xiaobai added inline comments.
Comment at: cmake/modules/LLDBFramework.cmake:1
+if (LLDB_BUILD_FRAMEWORK)
+ add_custom_target(lldb-framework)
labath wrote:
> Maybe use early exit here?
Sounds good
Comment at: cmake/modules/LLDBFramework.cmake:
xiaobai added inline comments.
Comment at: cmake/modules/LLDBFramework.cmake:45
+
+ add_dependencies(lldb-framework liblldb lldb-argdumper lldb-server
lldb-framework-headers)
+ add_dependencies(finish_swig lldb-framework)
labath wrote:
> xiaobai wrote:
> > lab
xiaobai updated this revision to Diff 151049.
xiaobai added a comment.
Minor change I forgot to make
https://reviews.llvm.org/D48060
Files:
CMakeLists.txt
cmake/modules/LLDBFramework.cmake
source/API/CMakeLists.txt
tools/driver/CMakeLists.txt
Index: tools/driver/CMakeLists.txt
xiaobai updated this revision to Diff 151048.
xiaobai added a comment.
Updated based on feedback. I would like to get more feedback before I'm
comfortable changing it further and/or committing this.
https://reviews.llvm.org/D48060
Files:
CMakeLists.txt
cmake/modules/LLDBFramework.cmake
s
xiaobai added inline comments.
Comment at: CMakeLists.txt:145
+ add_dependencies(lldb-suite lldb-framework)
+elseif()
+ if (LLDB_CAN_USE_LLDB_SERVER)
compnerd wrote:
> Shouldn't this be `else()`?
Yup
Comment at: CMakeLists.txt:176
+if (LL
xiaobai updated this revision to Diff 151067.
xiaobai added a comment.
Minor fixups pointed out by compnerd
https://reviews.llvm.org/D48060
Files:
CMakeLists.txt
cmake/modules/LLDBFramework.cmake
source/API/CMakeLists.txt
tools/driver/CMakeLists.txt
Index: tools/driver/CMakeLists.txt
=
xiaobai added inline comments.
Comment at: CMakeLists.txt:140
+# lldb-suite is a dummy target that encompasses all the necessary tools and
+# libraries for building a fully-functioning lldb.
+add_custom_target(lldb-suite)
labath wrote:
> fully-functioning lldb **
xiaobai updated this revision to Diff 151543.
xiaobai added a comment.
Pavel's suggestions.
https://reviews.llvm.org/D48060
Files:
CMakeLists.txt
cmake/modules/AddLLDB.cmake
cmake/modules/LLDBFramework.cmake
source/API/CMakeLists.txt
tools/driver/CMakeLists.txt
Index: tools/driver/CM
xiaobai added a comment.
I think this is in a pretty good state. I built LLDB.framework with xcodebuild
and compared it. There are still some discrepancies but this brings us a step
closer to a final working solution.
Comment at: cmake/modules/LLDBFramework.cmake:45
+
+ add_
xiaobai added a comment.
xiaobai added inline comments.
Comment at: cmake/modules/AddLLDB.cmake:102-104
if(LLDB_BUILD_FRAMEWORK)
if(ARG_INCLUDE_IN_FRAMEWORK)
+ add_dependencies(lldb-framework ${name})
labath wrote:
> If you reorder this slightly, the
xiaobai updated this revision to Diff 151598.
xiaobai added a comment.
Labath's suggestion
https://reviews.llvm.org/D48060
Files:
CMakeLists.txt
cmake/modules/AddLLDB.cmake
cmake/modules/LLDBFramework.cmake
source/API/CMakeLists.txt
tools/argdumper/CMakeLists.txt
tools/darwin-debug/
This revision was automatically updated to reflect the committed changes.
Closed by commit rL334968: Introduce lldb-framework CMake target and centralize
its logic (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D48060
xiaobai added a comment.
Thank you @labath for your help. I'm much happier with this!
Repository:
rL LLVM
https://reviews.llvm.org/D48060
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lld
xiaobai added a comment.
Friendly ping!
https://reviews.llvm.org/D47792
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
xiaobai updated this revision to Diff 151840.
xiaobai added a comment.
Rebasing this commit after my framework refactor
https://reviews.llvm.org/D47792
Files:
CMakeLists.txt
cmake/modules/LLDBFramework.cmake
resources/LLDB-Info.plist
Index: resources/LLDB-Info.plist
This revision was automatically updated to reflect the committed changes.
Closed by commit rL335014: Fix up Info.plist when building LLDB.framework with
CMake (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D47792
Fil
xiaobai accepted this revision.
xiaobai added a comment.
This revision is now accepted and ready to land.
Woohoo!
https://reviews.llvm.org/D48620
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinf
xiaobai created this revision.
xiaobai added reviewers: sas, smeenai, labath, davide.
Herald added a subscriber: mgorny.
This install command is used to install all the python modules and
python bindings. Currently the only way to install it is this:
`cmake -P build/tools/lldb/tools/scripts/cmake_
xiaobai planned changes to this revision.
xiaobai added a comment.
This isn't quite doing what I want yet. I intend on adding an install target.
https://reviews.llvm.org/D48993
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.l
xiaobai abandoned this revision.
xiaobai added a comment.
Gonna take some time to rethink and better understand this.
https://reviews.llvm.org/D48993
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/lis
xiaobai created this revision.
xiaobai added reviewers: labath, sas, compnerd, smeenai.
Herald added a subscriber: mgorny.
This change makes the install targets for lldb tools functional when
building for the framework.
I am currently working on the install rules for lldb-framework and this will
xiaobai added a comment.
I tested this by invoking cmake with `-DLLDB_BUILD_FRAMEWORK=1` and
`-DCMAKE_INSTALL_PREFIX=""`, followed by `DESTDIR=/tmp ninja
install-lldb-argdumper`. It installed lldb-argdumper to
/tmp/Library/Frameworks/LLDB.framework/Versions/A/Resources/lldb-argdumper
https://
xiaobai created this revision.
xiaobai added reviewers: zturner, labath, sas.
Herald added a subscriber: mgorny.
There is currently a way to skip the debugserver build. See how the CMake
variables SKIP_DEBUGSERVER and LLDB_CODESIGN_IDENTITY are used if you're
interested in that.
I'd like the opti
xiaobai updated this revision to Diff 155459.
xiaobai added a comment.
Update unittest logic.
https://reviews.llvm.org/D49282
Files:
cmake/modules/LLDBConfig.cmake
tools/CMakeLists.txt
unittests/tools/CMakeLists.txt
Index: unittests/tools/CMakeLists.txt
=
xiaobai added a comment.
In https://reviews.llvm.org/D49282#1163517, @labath wrote:
> I think this is fine (though the meaning of SKIP_LLDB_SERVER is subtly
> different than SKIP_DEBUGSERVER), but while looking at this I got an idea for
> a possible improvement.
How is it subtly different? Ad
This revision was automatically updated to reflect the committed changes.
Closed by commit rL337202: [CMake] Give lldb tools functional install targets
when building LLDB.framework (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://review
xiaobai added a comment.
In https://reviews.llvm.org/D49282#1164050, @labath wrote:
> In https://reviews.llvm.org/D49282#1163853, @xiaobai wrote:
>
> > In https://reviews.llvm.org/D49282#1163517, @labath wrote:
> >
> > > I think this is fine (though the meaning of SKIP_LLDB_SERVER is subtly
> >
xiaobai created this revision.
xiaobai added reviewers: sas, labath.
Herald added a subscriber: mgorny.
Currently, if you build lldb-framework the entire framework doesn't
actually build. In order to build the entire framework, you need to actually
build lldb-suite. This abstraction doesn't feel q
xiaobai updated this revision to Diff 155790.
xiaobai added a comment.
Accidentally merged the contents of two commits into one. Removing the contents
of one of the commits from this one.
https://reviews.llvm.org/D49406
Files:
CMakeLists.txt
cmake/modules/LLDBFramework.cmake
source/API/C
This revision was automatically updated to reflect the committed changes.
Closed by commit rL337311: Invert dependency between lldb-framework and
lldb-suite (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D49406
Files
xiaobai added a comment.
If I understand correctly, this is putting the headers directly into the
framework? That's a pretty good idea :D
In https://reviews.llvm.org/D49779#1174659, @keith wrote:
> It seems like if this was a common occurrence, it would've been fixed
> earlier, so I'm wonderin
xiaobai requested changes to this revision.
xiaobai added a comment.
This revision now requires changes to proceed.
I think this might actually not do what we want it to do. I've commented inline
with my concerns.
Comment at: cmake/modules/LLDBFramework.cmake:21
add_custom_
xiaobai added a comment.
Looks good
Comment at: cmake/modules/LLDBFramework.cmake:41
+add_custom_target(lldb-framework-headers
+ DEPENDS ${framework_headers}
+ COMMAND ${LLDB_SOURCE_DIR}/scripts/framework-header-fix.sh
keith wrote:
> xiaobai wrote:
> > This s
xiaobai added inline comments.
Comment at: cmake/modules/LLDBFramework.cmake:41
+add_custom_target(lldb-framework-headers
+ DEPENDS ${framework_headers}
+ COMMAND ${LLDB_SOURCE_DIR}/scripts/framework-header-fix.sh
keith wrote:
> xiaobai wrote:
> > keith wrote:
xiaobai added inline comments.
Comment at: cmake/modules/LLDBFramework.cmake:41
+add_custom_target(lldb-framework-headers
+ DEPENDS ${framework_headers}
+ COMMAND ${LLDB_SOURCE_DIR}/scripts/framework-header-fix.sh
keith wrote:
> xiaobai wrote:
> > keith wrote:
xiaobai accepted this revision.
xiaobai added a comment.
This revision is now accepted and ready to land.
Awesome! Thank you so much for your patience and contribution. :)
Do you need somebody to commit this for you?
https://reviews.llvm.org/D49779
___
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338058: Make framework-header-fix process copied headers
(authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D49779
Files:
lld
xiaobai created this revision.
xiaobai added a reviewer: labath.
Herald added a subscriber: mgorny.
CMake has a bug in its ninja generator that prevents you from
installing targets that are built with framework support. Therefore, I want to
not rely on CMake's framework support.
https://reviews
xiaobai added a comment.
Tested this by invoking
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLDB_BUILD_FRAMEWORK=1 && ninja
lldb
The resulting framework appears to be the same as before.
https://reviews.llvm.org/D49888
___
lldb-commits mailin
xiaobai added a comment.
In https://reviews.llvm.org/D49888#1177929, @labath wrote:
> Can't say I fully understand what's going on, but the changes seem reasonable
> to me.
Let me know if I can clear anything up.
> If there is some public cmake bug describing the issue you ran into, it would
xiaobai updated this revision to Diff 157713.
xiaobai added a comment.
Add comment pointing to CMake bug report
https://reviews.llvm.org/D49888
Files:
CMakeLists.txt
cmake/modules/AddLLDB.cmake
cmake/modules/LLDBConfig.cmake
cmake/modules/LLDBFramework.cmake
scripts/CMakeLists.txt
s
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338154: Stop building liblldb with CMake's framework
functionality (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D49888
Fi
xiaobai created this revision.
xiaobai added reviewers: labath, sas.
Herald added a subscriber: mgorny.
Previously, I thought that install-liblldb would fail because CMake had
a bug related to installing frameworks. In actuality, I misunderstood the
semantics of `add_custom_target`: the DEPENDS op
xiaobai added a comment.
Using this patch, I was able to build the lldb framework and install it. I
configured with:
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLDB_CODESIGN_IDENTITY=""
-DLLDB_BUILD_FRAMEWORK=1 -DLLDB_USE_SYSTEM_SIX=1 -DCMAKE_INSTALL_PREFIX=""
-DLLVM_TARGETS_TO_BUILD="X8
xiaobai added a comment.
In https://reviews.llvm.org/D50038#1181817, @labath wrote:
> I am glad filing the cmake bug has paid off. :)
Same! :)
Comment at: cmake/modules/AddLLDB.cmake:81-87
+ # install-liblldb{,-stripped} is the actual target that will install the
+ # frame
xiaobai updated this revision to Diff 158329.
xiaobai added a comment.
Address comments
https://reviews.llvm.org/D50038
Files:
CMakeLists.txt
cmake/modules/AddLLDB.cmake
cmake/modules/LLDBFramework.cmake
source/API/CMakeLists.txt
Index: source/API/CMakeLists.txt
===
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338594: Introduce install-lldb-framework target (authored by
xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D50038
Files:
lldb/trunk/C
xiaobai added a comment.
In https://reviews.llvm.org/D50038#1184445, @clayborg wrote:
> Might be nice to put a blurb in the build page about this in the MacOS
> section?
Yep, I think that wouldn't be a bad idea. I can handle that in a separate
commit. Might be nice for one of the buildbots to
xiaobai updated this revision to Diff 159400.
xiaobai added a comment.
Reducing redundancy and changing some wording around.
https://reviews.llvm.org/D50362
Files:
www/build.html
Index: www/build.html
===
--- www/build.html
+++
xiaobai added a comment.
Can't speak much to the contents yet (Haven't done a thorough pass yet) but it
looks like there's a lot of dead code you might want to remove. I commented on
a few of them but there is probably more.
Comment at:
packages/Python/lldbsuite/test/tools/l
xiaobai added a comment.
Hurray for more layering improvements!
It looks like Raphael recently committed a modulemap for compiling the LLDB
headers into C++ modules (`include/lldb/module.modulemap`) that has a reference
to Predicate.h in in Host. You should probably modify that as well.
https
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB339155: Add instructions for building LLDB on Mac OS X
with CMake (authored by xiaobai, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D50362?vs=159400&id=159540#toc
Repository:
This revision was automatically updated to reflect the committed changes.
Closed by commit rL340560: [cmake] Add option to skip building lldb-server
(authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D49282?vs=155459&
xiaobai accepted this revision.
xiaobai added a comment.
Regardless of compatibility, the man page for sed on OSX recommends not having
a zero length extension while editing the file in place. LGTM.
https://reviews.llvm.org/D51374
___
lldb-commits
xiaobai created this revision.
xiaobai added reviewers: clayborg, labath.
Herald added a subscriber: mgorny.
Building LLDB with xcodebuild sets the compatability version of liblldb
in LLDB.framework. Building the framework with cmake does not set the
compatability version, and so it defaults to 0.
xiaobai updated this revision to Diff 165126.
xiaobai added a comment.
Fix typo (Thanks for the catch!)
https://reviews.llvm.org/D51959
Files:
source/API/CMakeLists.txt
Index: source/API/CMakeLists.txt
===
--- source/API/CMakeL
This revision was automatically updated to reflect the committed changes.
Closed by commit rL342066: Add compatibility version to liblldb in framework
builds (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D51959
File
xiaobai created this revision.
Herald added a subscriber: emaste.
I recently ran into a shared object that had a reasonably large number
of absolute symbols. Parsing all the symbols in the shared object took an
unusually long amount of time, so I looked into it and found that when we
created fake
xiaobai created this revision.
xiaobai added reviewers: labath, zturner, jingham.
ArchSpec was moved from Core to Utility, so I modified the docs to
reflect that.
https://reviews.llvm.org/D42264
Files:
www/architecture/index.html
Index: www/architecture/index.html
==
xiaobai added a comment.
I don't have commit rights, so I need somebody to commit for me. If you can do
that, that'd be great! :)
https://reviews.llvm.org/D42264
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bi
xiaobai closed this revision.
xiaobai added a subscriber: compnerd.
xiaobai added a comment.
@compnerd committed this for me! r323363
https://reviews.llvm.org/D42264
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi
xiaobai added inline comments.
Comment at:
packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py:39-40
(_COMP_DIR_SYM_LINK_PROP, pwd_symlink))
-lldbutil.run_break_set_by_file_and_line(self, self.src_path, self.line)
xiaobai abandoned this revision.
xiaobai added a comment.
It's clear this is not the way forward. The problem I am trying to solve should
be attacked differently. Thanks everyone for your input!
https://reviews.llvm.org/D39307
___
lldb-commits mail
xiaobai added a comment.
Oh, FWIW I tested this on Linux (specifically CentOS) and the test result
summary showed no difference in Success/Failure rate.
https://reviews.llvm.org/D42763
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http:
xiaobai added inline comments.
Comment at: source/Breakpoint/BreakpointSiteList.cpp:191
if (lower != m_bp_site_list.begin()) {
-collection::const_iterator prev_pos = lower;
-prev_pos--;
+auto prev_pos = std::prev(lower);
const BreakpointSiteSP &prev_bp = (*pre
xiaobai added inline comments.
Comment at: source/Breakpoint/BreakpointSiteList.cpp:191
if (lower != m_bp_site_list.begin()) {
-collection::const_iterator prev_pos = lower;
-prev_pos--;
+auto prev_pos = std::prev(lower);
const BreakpointSiteSP &prev_bp = (*pre
1 - 100 of 1336 matches
Mail list logo